blob: 5c46adb7c28c3f6e936a3cd2c0d9af84d13180e4 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
# Ssh Branches
for branch in $(git -C "$HOME/programs/config_local_arch" branch | awk '!/master/{print ($1=="*")?$2:$1}'); do
echo "sshing to server $branch..."
ssh -t "$branch" '. "$HOME/.profile";' "$@"
done
|