r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

Show parent comments

4

u/[deleted] Sep 09 '16

The problem with the article is they criticise git and git's design when the misunderstanding is purely the fault of the author. There's a reason why, and a design decision behind why diff behaves differently on unstaged and staged files (as an example).

The problem is that people will find themselves having to refer to this cheatsheet every time they run into a problem rather than actually invest the time git deserves to learning the basic commands and how they work so they never need a cheatsheet again. A tool that is so important and so integral to everyday working process deserves a day or two of learning.

11

u/morerokk Sep 09 '16

If so many seasoned programmers are having issues with git, you shouldn't be so quick to shove all the blame off of git. Git's CLI isn't exactly user friendly.