mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git-graft now defaults to current branch instead of master
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
This commit is contained in:
parent
6de78f63f4
commit
2d94afe185
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test -z $1 && echo "source branch required." && exit 1
|
||||
src=$1
|
||||
dst=${2-master}
|
||||
dst=${2-}
|
||||
|
||||
git checkout $dst \
|
||||
&& git merge --no-ff $src \
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ git-graft(1) -- Merge and destroy a given branch
|
|||
|
||||
## DESCRIPTION
|
||||
|
||||
Merge commits from <src-branch> into <dest-branch> which defaults to <master>.
|
||||
Merge commits from <src-branch> into <dest-branch> which defaults to the current branch.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue