提交 0780e045 authored 作者: Travis Cross's avatar Travis Cross

Enhanced the self-documentation in git setup.

上级 3e3b80c1
...@@ -47,11 +47,21 @@ cat 1>&2 <<EOF ...@@ -47,11 +47,21 @@ cat 1>&2 <<EOF
This does NOT rewrite history on the remote FS repo, but it does This does NOT rewrite history on the remote FS repo, but it does
change the commit hashes in your local tree. change the commit hashes in your local tree.
By default, 'git pull' is equivalent to running:
git fetch && git merge origin/master
What we've done here is change things such that 'git pull' is now
equivalent to:
git fetch && git rebase origin/master
If you really want to merge rather than rebasing, run: If you really want to merge rather than rebasing, run:
git merge <commit> git merge <commit>
See 'man git-config' for more information. See 'man git-config' for more information. Also see the man pages
for git-pull, git-fetch, git-merge, and git-rebase.
EOF EOF
[ -n "$name" ] \ [ -n "$name" ] \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论