mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Graft Update
This commit is contained in:
parent
d978428973
commit
85c95d1002
|
|
@ -3,6 +3,6 @@
|
|||
test -z $1 && echo "foreign branch required." && exit 1
|
||||
test -z $2 && echo "merge branch required." && exit 1
|
||||
|
||||
git checkout $2
|
||||
git merge --no-ff $1
|
||||
git delete-branch $1
|
||||
git checkout $2 &&
|
||||
git merge --no-ff $1 &&
|
||||
git delete-branch $1
|
||||
Loading…
Reference in a new issue