现在,我看到很多来自Linus Torvalds和/或Gitster的提交看起来像这样:
Merge branch 'maint' of git://github.com/git-l10n/git-po into maint …
* 'maint' of git://github.com/git-l10n/git-po:
l10n: de.po: fix a few minor typos
或:
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst… …
…ream-linus
Pull MIPS update from Ralf Baechle:
...
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (22 commits)
MIPS: SNI: Switch RM400 serial to SCCNXP driver
...
我不知道怎么做,但是我知道关于git remote、git checkout和git merge的知识,我用它们合并分支(或“拉取请求”),但它不会生成这样的消息,为什么?有人可以提供一些例子吗?
P.S:我是Linus Torvalds提交等的粉丝,喜欢他的合并描述有多详细;P
P.S:这就是我以前合并东西的方式:
git remote add anotherremoot
git checkout -b anotherbranch
git pull remoteshortcut
...do tests...
git checkout master
git merge anotherbranch
git push
我从这里学到了上面的示例:http://viget.com/extend/i-have-a-pull-request-on-github-now-what