Removed old branches from git-push-all.sh
[barry.git] / git-push-all.sh
blobc18a9bdaedcdf1b15643f34188649072c2027166
1 #!/bin/sh
3 PATCH_CVS="$(dirname "$0")/git-patch-cvs.sh"
5 BRANCHES="master scripts"
7 set -e
9 # Note: This push only updates non-CVS branches, and master.
10 # To push other CVS branches, do it manually, with git-patch-cvs.sh
12 git push -f --tags origin $BRANCHES
13 git push -f --tags nfshome $BRANCHES
15 echo "Press enter when ready for git push sourceforge.net..."
16 read
17 git push sourceforge.net $BRANCHES
20 echo "Press enter when ready for git push repo.or.cz..."
21 read
23 # Now update repo.or.cz. We can be more liberal here, since repo.or.cz
24 # _should_ contain everything that can be considered public.
26 # The idea is to put everything out there, in case someone wants
27 # to work on it, or send patches.
29 # "all" and "tags" have to be done separately for some reason
31 #git push --all repo.or.cz
32 #git push --tags repo.or.cz master i18n
33 git push repo.or.cz $BRANCHES
35 echo "================= NOTE: if you want to push a tag, do it manually"
36 echo "================= for both repo.or.cz and sourceforge.net!"
37 echo "Example: git push repo.or.cz barry-0.13"