4 ms·
I've aliased git to "g" in bash and set up aliases in my ~/.gitconfig [1]. Reducing "git" to "g" or "status" to "st" doesn't speed up my workflow much. The rea
by dave1010uk 15y ago
I've aliased git to "g" in bash and set up aliases in my ~/.gitconfig [1].
Reducing "git" to "g" or "status" to "st" doesn't speed up my workflow much. The real gains come with aliasing something like this:
git --no-pager log --oneline --graph -n 18 --decorate
[1] https://github.com/dave1010/scripts/blob/master/gitconfig https://github.com/dave1010/scripts/blob/master/gitconfig
- wpb3 15y agoAgreed. What I would really like to see is alias' to handle git operations that you typically would have a slim chance of remembering on your own. For example, reverting changes: http://stackoverflow.com/questions/927358/git-undo-last-commit http://stackoverflow.com/questions/927358/git-undo-last-comm... http://stackoverflow.com/questions/348170/undo-git-add http://stackoverflow.com/questions/348170/undo-git-add