loading...

Git Alias: WTF Is It? How to do it? When TF to Use it?

njericooper profile image Njeri Cooper ・1 min read

WTF is a Git Alias?

  • a shorthand command for shortcutting Git functions.

How to Do it?

How to make Git aliases and how to use them

  • Configure your global Git settings by typing > git config --global alias.(your desired shorthand command) (actual command)

Example: git config --global alias.ci commit

or add a bit of code to your .gitconfig file

[alias]
ci = commit

Discussion

markdown guide