git-pull with rebase argument

use rebase could cause a clean and linear history, it's a good habit.
This commit is contained in:
Charles Tang 2015-12-25 15:17:15 +08:00
parent d2c7181f9a
commit 431a5c8759

View File

@ -6,6 +6,10 @@
`git pull`
- Download changes from default remote repository and use fast forward
`git pull --rebase`
- Download changes from given remote repository and branch, then merge them into HEAD
`git pull {{remote_name}} {{branch}}`