DEV Community

Discussion on: Git commands to keep a fork up to date

Collapse
 
hamzaanis profile image
Hamza Anis


git pull upstream master

works just fine in most of the scenarios.

Collapse
 
philnash profile image
Phil Nash

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.

Collapse
 
hamzaanis profile image
Hamza Anis

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.

Thread Thread
 
philnash profile image
Phil Nash

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

Thread Thread
 
xexyl profile image
xexzy

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!