Last active
December 25, 2015 06:38
-
-
Save androidzhibinw/4bb5ec40194c45e8c077 to your computer and use it in GitHub Desktop.
update and checkout new branch each time.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
REMOTE=`git remote` | |
WORK_BRANCH="remotes/$REMOTE/android_ui.lnx.1.0-rel.1.1" | |
git remote update | |
echo "update done" | |
btime=`date +'%Y-%m-%d-%H-%M'` | |
#echo $WORK_BRANCH $btime | |
git checkout $WORK_BRANCH -b rel.1.1_$btime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment