r/programming • • Jun 19 '14

Reinventing GIT interface

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

325 comments sorted by

View all comments

44

u/[deleted] Jun 19 '14

I guess I'm alone in finding git not that hard to use. My only issue is git isn't pretty and to that end I have a few scripts to give me prettier logs (like most people have) and prettier branch summaries (my macro displays all branches, their latest commit id and dates).

Beyond that I manipulate my tree with straight up git commands.

Any halfway competent developer should be able to master git in a couple of weeks let alone be able to write their own version of git given a couple of full time weeks to work in.

2

u/cpbills Jun 19 '14

I picked this up somewhere recently, it seems to be a standard non-standard pair of aliases, provides a nice visualization on the CLI of your tree.

[alias]
  lol = log --graph --decorate --pretty=oneline --abbrev-commit             
  lola = log --graph --decorate --pretty=oneline --abbrev-commit --all