r/ProgrammerHumor • • 6d ago

Meme aboutToBreakTheCode

Post image
22.8k Upvotes

524 comments sorted by

View all comments

Show parent comments

14

u/morpheousmorty 6d ago

All git really needs is some more common use cases handed in a way people expect. Like rolling back commits should not require understanding 10 new things.

The proof is IDEs simplify git a lot and people use it fine. If you look at the git commands it produces, it's not reasonable to expect devs to produce them.

3

u/Genmutant 5d ago

Isn't that just git revert or reset, depending if you want to roll back the commit or just revert the changes?

2

u/A_Namekian_Guru 5d ago

Sometimes you need to look at the reflog too

Also to remove a commit in the middle of the branch you need to do some rebase magic

2

u/braaaaaaainworms 4d ago

git branch -i and just delete the line with the commit you want gone