Summary
Aliases are a convenient way to shorten otherwise lengthy commands. You create an alias with this sequence:
- Enter
git - Enter the keyword
config - Enter the flag
--global - Enter the keyword alias followed by a period and then the alias itself
- Enter the command you are aliasing
You can access the configuration file directly with:
git config --edit --global
Aliases are simple, easy, and incredibly useful when working at the command line.