Created
February 6, 2012 09:20
-
-
Save six8/1751024 to your computer and use it in GitHub Desktop.
git flow finish current branch
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 characters
[alias] | |
# Start a feature branch (git start myfeature) | |
start = !"git flow feature start $1" | |
# Finish current git flow branch (git finish) | |
finish = !"git flow $(BRANCH=$(git for-each-ref --format='%(refname:short)' `git symbolic-ref HEAD`); echo ${BRANCH%/*} finish ${BRANCH##*/})" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment