GIT aliases

GIT does not infer to your commands if you type it partially, but if you don’t want to type the entire command with every time you can create aliases for these commands so that you can run these command quickly.

git config --global alias.<alisa_name> <command_with_attibutes>

Some of the alias that i use are below

$ git config --global checkout
$ git config --global branch
$ git config --global 'commit -v'
$ git config --global 'status -s'

Leave a Comment