Skip to content

Commit

Permalink
Merge pull request progit#305 from zheeeng/patch-1
Browse files Browse the repository at this point in the history
git merge --squash 不需要添加 --no-commit
  • Loading branch information
networm committed Apr 10, 2016
2 parents 9d8a9d0 + b52ff84 commit 488dba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/05-distributed-git/sections/contributing.asc
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ image::images/public-small-2.png[`featureA` 工作之后的提交历史。]
[source,console]
-----
$ git checkout -b featureBv2 origin/master
$ git merge --no-commit --squash featureB
$ git merge --squash featureB
# (change implementation)
$ git commit
$ git push myfork featureBv2
Expand Down

0 comments on commit 488dba6

Please sign in to comment.