Created
June 28, 2012 06:35
-
-
Save kakkun61/3009518 to your computer and use it in GitHub Desktop.
git merge master and ...
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/sh | |
b=`git branch | grep '*' | awk '{print $2}'` | |
git checkout master && git merge $b && git checkout $b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@{-1}
使うと簡単に書ける。