Re:Git git git git git
by metrognome on Tuesday September 26, 2017 @05:46PM
(#15342802)
Quite often, I accidentally press the space bar eagerly when typing git commands:
To fix this, I've added the following to my .bashrc:
It also works if you drop the "t" altogether.
[ Parent
| on HN ]
Re:Git git git git git
by QuercusMax on Wednesday September 27, 2017 @12:12AM
(#15344867)
Ha! I have almost the same thing:
gi() { ARG=$(echo $1 | sed s/^t//); shift; git "$ARG" "$@"; }