Skip to content

This repo explains how you do commits in 18 key hits instead of 42

Notifications You must be signed in to change notification settings

ivan-developer-01/lazy-gitcommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

lazy-gitcommit

This repo explains how you do commits in 18 key hits instead of 42

How-To

(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_FILE

That's it!

Fast way to install

Run

curl https://raw.githubusercontent.com/ivan-developer-01/lazy-gitcommit/main/install.sh | sh

Help on commands

  • gc - Add the current directory to Git and commit changes
  • gp - Runs git push
  • gl - Runs git log
  • gs - Runs git status

About

This repo explains how you do commits in 18 key hits instead of 42

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages