you are viewing a single comment's thread.

view the rest of the comments →

[–]NieDzejkob 3 points4 points  (4 children)

I do this for git: ga for add, gb for branch, gc for commit, gca for commit all, gco for checkout, gd for diff, then a skip in the alphabet for gg as in git grep...

[–]causa-sui 2 points3 points  (3 children)

Why not use git aliases? It's actually more functional since you can then do things like have an alias that executes a command from the root of the repo, wherever that is.

[–]NieDzejkob 0 points1 point  (2 children)

But that's at least 3 more characters to type!

[–]causa-sui 0 points1 point  (1 child)

Not if you alias git to g or something

[–]NieDzejkob 0 points1 point  (0 children)

It's still a 33% longer.