- Timestamp:
- Sep 25, 2024, 5:51:15 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/pre-push
r3415 r3440 5 5 local_branch=$(git branch --show-current) 6 6 if [ ${local_branch} != "master" ]; then 7 git checkout master # ensure master is in sync with svn 7 # exit 0 # if on other branch than master, do not sync with svn 8 git checkout master 9 git pull origin master 8 10 fi 9 11 # git update-ref refs/remotes/git-svn refs/remotes/origin/master # what's this supposed to do? … … 45 47 46 48 ### commit changes to svn 47 git svn dcommit 49 git svn dcommit < /dev/tty 48 50 COMMITED=$? 49 51 if [ $COMMITED != 0 ] # check if rebase worked
Note: See TracChangeset
for help on using the changeset viewer.