3 ms·
I have a ridiculous "vim style" alias setup: https://github.com/myfreeweb/dotfiles/blob/4eb052cc54f9edcc870932494c2c30f90a220970/dev-base/gitconfig#L64 https://
by floatboth 10y ago
I have a ridiculous "vim style" alias setup: https://github.com/myfreeweb/dotfiles/blob/4eb052cc54f9edcc870932494c2c30f90a220970/dev-base/gitconfig#L64 https://github.com/myfreeweb/dotfiles/blob/4eb052cc54f9edcc8...
So I can just e.g. type "g ws" to tell [g]it to give me the [w]orking tree [s]tatus. Seeing people actually type "git status" is just painful.
- shandor 10y agoMe too, though I have them setup on shell rather than .gitconfig. Saves that one space after 'g' :) The ones I find myself using most are 'gru' for git remote update, and 'gka' for "gitk --all -500 &". (The -500 is there to prevent my laptop dying when I run gitk with --all on the Linux kernel repo without second thought...)
- mrkgnao 10y agoThat's impressive. Together with (neo)vim as $GIT_EDITOR I can see that being really nice to use. Now you could decide to systematize the "grammar" of your shortcuts somehow, and, well... it's definitely an idea people have had before. ;) https://magit.vc/screenshots/popup-diff.png https://magit.vc/screenshots/popup-diff.png Not an Emacs fanboy, by any means: I use Spacemacs. Magit is objectively excellent, though.