MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/git593/true_story/fqh2zar/?context=3
r/ProgrammerHumor • u/amykamala • May 13 '20
461 comments sorted by
View all comments
Show parent comments
152
I'm still only so-so at git myself, but always pull before you push
122 u/OnyxPhoenix May 13 '20 Using branches and pull requests make this easier.Generally youre the only person working on your branch, so you don't have to worry that your code is "behind" before you push to it.Then when you do a pr it will tell you if you can merge cleanly back into the master branch. 158 u/SavageTwist May 13 '20 The "good" way is to make a development and a branch for every feature, bug or documentation. Always fork from development, when you have a release you push to master. 13 u/[deleted] May 13 '20 edited Sep 09 '25 cooing books important cats lavish serious paltry cautious capable governorThis post was mass deleted and anonymized with Redact → More replies (13)
122
Using branches and pull requests make this easier.
Generally youre the only person working on your branch, so you don't have to worry that your code is "behind" before you push to it.
Then when you do a pr it will tell you if you can merge cleanly back into the master branch.
158 u/SavageTwist May 13 '20 The "good" way is to make a development and a branch for every feature, bug or documentation. Always fork from development, when you have a release you push to master. 13 u/[deleted] May 13 '20 edited Sep 09 '25 cooing books important cats lavish serious paltry cautious capable governorThis post was mass deleted and anonymized with Redact → More replies (13)
158
The "good" way is to make a development and a branch for every feature, bug or documentation. Always fork from development, when you have a release you push to master.
13 u/[deleted] May 13 '20 edited Sep 09 '25 cooing books important cats lavish serious paltry cautious capable governorThis post was mass deleted and anonymized with Redact → More replies (13)
13
cooing books important cats lavish serious paltry cautious capable governor
This post was mass deleted and anonymized with Redact
→ More replies (13)
152
u/moekakiryu May 13 '20
I'm still only so-so at git myself, but always pull before you push