mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-04-06 10:56:41 +00:00
Add git pull -ff
notes
This commit is contained in:
parent
395825ce8e
commit
085535d05e
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@ def load_reference(name_or_id):
|
|||
`git push <remote> <local branch>:<remote branch>`: send objects to remote, and update remote reference
|
||||
|
||||
`git fetch [<remote>]`: retrieve objects/references from a remote
|
||||
`git pull`: update the local branch with updates from its remote counterpart, same as `git fetch; git merge`
|
||||
`git pull`: update the local branch with updates from its remote counterpart, same as `git fetch; git merge`
|
||||
`git pull -ff`: when possible resolve the merge as a fast-forward (only update branch pointer, don't create merge commit). Otherwise create a merge commit.
|
||||
|
||||
`git fetch && git show <remote>/<branch>`: show incoming changes
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue