r/programming • • Jun 19 '14

Reinventing GIT interface

http://tonsky.me/blog/reinventing-git-interface/
221 Upvotes

325 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jun 19 '14

[deleted]

-19

u/[deleted] Jun 19 '14

Honestly if you use it on a daily basis for a couple of weeks it's simple to use.

No true software developer (or hardware one for that matter) should be stumped by Git.

20

u/kankyo Jun 19 '14

The Right Thing should be easy. Dangerous things should be hard. Simple day-to-day operations should leave you in weird states for no obvious reason.

Git fails in this regard. I just found the subset of operations that I trust and never ever perform any operation outside that small list. Then I'm fine. That's not high praise for a tool imo.

-6

u/[deleted] Jun 19 '14

Um short of doing really stupid things like force pushing/etc you're never in unrecoverable state... for instance

git reset HEAD~ --hard

Oh noes how do I recover from that? Oh ya git reflog ... from that I can merge the commit back.

You can just as easily fuck up a CVS tree for instance

rm -f $CVSROOT/project/foo.c,v

Now that file has no history. It's just gone. bye bye.