r/programming • • Jun 19 '14

Reinventing GIT interface

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

325 comments sorted by

View all comments

9

u/e_engel Jun 19 '14

The git command line interface is atrocious but most of it can be avoided by simply using a GUI client.

There are plenty available, all with their pros and cons, but they make it much easier to visualize branches, diffs and logs. They even make it trivial to stage hunks, which I think every git user should know how to do (but is so arcane to do with the command line that nobody does it).

These days, the only times when I ever go back to the command line is to do interactive rebases or bisects, both pretty rare operations.

Personally, I use SourceTree because I barely have to touch the mouse to operate it. Staging and pushing files is just a matter of Ctrl-Shift-+ (for each file), Ctrl-Shift-c (open commit window), type commit text, Ctrl-Enter and Ctrl-Shift-p to push.

1

u/input Jun 19 '14

When using my colleague SourceTree to fix a problem, I always end up clicking the terminal button.

It seems good for basic stuff but when you have a problem I can never find the right button and end up looking like an idiot.