/gmo
Last active
August 29, 2015 13:56
Revisions
-
idris revised this gist
Jun 13, 2014 . 1 changed file with 1 addition and 5 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,6 +1,2 @@ #!/bin/bash git merge -m "Merge #$1 from $2 into $(git symbolic-ref --short HEAD)" origin/$2 -
idris created this gist
Feb 6, 2014 .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/bash function parse_git_branch_bare { git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' } git merge -m "Merge #$1 from $2 into $(parse_git_branch_bare)" origin/$2