-
-
Save idris/8849935 to your computer and use it in GitHub Desktop.
`gmo` command to merge pull requests
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 | |
git merge -m "Merge #$1 from $2 into $(git symbolic-ref --short HEAD)" origin/$2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
parse_git_branch_bare
could be simplified togit symbolic-ref --short HEAD
.