This repo explains how you do commits in 18 key hits instead of 42
(I use .bashrc file for it.) You need to set an aliases for every commands you will use:
LAZYGITCOMMIT_FILE=~/.bashrc
echo 'function gc { git add .; git commit -S -m "$*"; };' >> $LAZYGITCOMMIT_FILE
echo 'alias gp="git push"' >> $LAZYGITCOMMIT_FILE
echo 'alias gl="git log"' >> $LAZYGITCOMMIT_FILE
echo 'alias gs="git status"' >> $LAZYGITCOMMIT_FILEThat's it!
Run
curl https://raw.githubusercontent.com/ivan-developer-01/lazy-gitcommit/main/install.sh | shgc- Add the current directory to Git and commit changesgp- Runsgit pushgl- Runsgit loggs- Runsgit status