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 alias.co checkout
$ git config --global alias.br branch
$ git config --global alias.ci 'commit -v'
$ git config --global alias.st 'status -s'

Leave a Comment