mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
refactor git-graft
This commit is contained in:
parent
2d94afe185
commit
dcd1f2ecfe
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test -z $1 && echo "source branch required." && exit 1
|
||||
src=$1
|
||||
dst=${2-}
|
||||
dst=$2
|
||||
|
||||
git checkout $dst \
|
||||
&& git merge --no-ff $src \
|
||||
|
|
|
|||
Loading…
Reference in a new issue