re: Git commands to keep a fork up to date VIEW POST


git pull upstream master

works just fine in most of the scenarios.


That is correct and why I talked about using pull right near the end of the post. It’s nice to know how to use the other commands too though, which is why I wanted to explain them too.


Yes I read that too. You explained everything and it was good but in my opinion it was better to discuss pull first and explaining things further. BTW it's a great article.

Ah, cool, thanks. I thought it was better to build up from the basic components before unveiling the shortcuts. Thanks for reading!

Background is almost always better - but you could add a note at first that there’s a built in command that does both i.e. merges the two commands. And no I can’t help it. I love punning!

Code of Conduct Report abuse