-
-
Save rud/106621 to your computer and use it in GitHub Desktop.
Revisions
-
rud revised this gist
Feb 22, 2011 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,9 @@ #!/bin/sh -x # Exit if any error is encountered: set -o errexit # git name-rev is fail CURRENT=`git branch | grep '\*' | awk '{print $2}'` git checkout master git merge ${CURRENT} git push origin master git checkout ${CURRENT} -
rud renamed this gist
Dec 29, 2010 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
rud revised this gist
May 4, 2009 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ #!/bin/sh -x # git name-rev is fail CURRENT=`git branch | grep '\*' | awk '{print $2}'` git checkout master || exit 1 git merge ${CURRENT} || exit 1 git push origin master git checkout ${CURRENT} || exit 1 -
reinh revised this gist
Nov 25, 2008 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/sh -x # git name-rev is fail CURRENT=`git branch | grep '\*' | awk '{print $2}'` git checkout master git merge ${CURRENT} git push origin master -
reinh revised this gist
Aug 29, 2008 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ #!/bin/sh -x # git name-rev is fail CURRENT=`git branch | grep "\*" | awk "{print $2}"` git checkout master git merge ${CURRENT} git push origin master -
reinh revised this gist
Aug 28, 2008 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ #!/bin/sh -x CURRENT=`git name-rev HEAD --name-only` git checkout master git merge ${CURRENT} git push origin master -
reinh created this gist
Aug 28, 2008 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ #!/bin/sh -x CURRENT=`git branch | grep "\*" | awk "{print $2}"` git checkout master git merge ${CURRENT} git push origin master git checkout ${CURRENT}