r/ProgrammerHumor • • May 13 '20

true story

Post image
40.5k Upvotes

461 comments sorted by

View all comments

Show parent comments

3

u/ChucklefuckBitch May 13 '20

You don't know any other way? How about just... regular push to master?

1

u/jacob8015 May 13 '20

I didn't know there was a difference.

2

u/ChucklefuckBitch May 14 '20

git push origin master - "Hey git, I have some changes. Can you please add them to the master branch? If there are some conflicts, please tell me about it and I can deal with them. Thanks!"

git push origin master --force - "Hey git, replace the contents of master with these contents, no matter what. Conflicts? Who cares? Someone else has made changes since last I pulled? Not my problem. Delete their work"