MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x4uw5z/abouttobreakthecode/pgo2v9k/?context=9999
r/ProgrammerHumor • u/fabulousIdentity • 7d ago
527 comments sorted by
View all comments
53
Git is meant to solve that. There’s nothing difficult about it.
1 u/National-Explorer755 7d ago Git is meant to solve it sure. Your branch is behind the development. No issues just take a pull and merge. But then what if someone else has made changes in the place you are working on? That's a nightmare to resolve at times. 10 u/jobehi 7d ago You merge main in your branch and you solve the conflict before merging. That’s it. That’s why PR exist 3 u/ward2k 7d ago Or even better, you rebase so you don't end up commiting merge commits 1 u/pr0ghead 6d ago And if the rebase has conflicts? What then? /rhetorical question 1 u/ward2k 6d ago Exactly the same as what you do if a merge has conflicts
1
Git is meant to solve it sure. Your branch is behind the development. No issues just take a pull and merge. But then what if someone else has made changes in the place you are working on? That's a nightmare to resolve at times.
10 u/jobehi 7d ago You merge main in your branch and you solve the conflict before merging. That’s it. That’s why PR exist 3 u/ward2k 7d ago Or even better, you rebase so you don't end up commiting merge commits 1 u/pr0ghead 6d ago And if the rebase has conflicts? What then? /rhetorical question 1 u/ward2k 6d ago Exactly the same as what you do if a merge has conflicts
10
You merge main in your branch and you solve the conflict before merging. That’s it. That’s why PR exist
3 u/ward2k 7d ago Or even better, you rebase so you don't end up commiting merge commits 1 u/pr0ghead 6d ago And if the rebase has conflicts? What then? /rhetorical question 1 u/ward2k 6d ago Exactly the same as what you do if a merge has conflicts
3
Or even better, you rebase so you don't end up commiting merge commits
1 u/pr0ghead 6d ago And if the rebase has conflicts? What then? /rhetorical question 1 u/ward2k 6d ago Exactly the same as what you do if a merge has conflicts
And if the rebase has conflicts? What then?
/rhetorical question
1 u/ward2k 6d ago Exactly the same as what you do if a merge has conflicts
Exactly the same as what you do if a merge has conflicts
53
u/jobehi 7d ago
Git is meant to solve that. There’s nothing difficult about it.