Y
Hacker News
new
|
ask
|
show
|
jobs
by
kyleslattery
4603 days ago
You can even collapse the first one into a single command: "git pull remotename master"
2 comments
raimondious
4603 days ago
And the second one too: "git pull --rebase remotename master"
link
_ikke_
4602 days ago
Note that in this case, your remote tracking branches wont be updated, so git status will say you are ahead of the remote, while you are in fact at the same point.
A "git fetch <remote>" would then update the remote tracking branches.
link