Git · Setup and remotes
git config alias
Creates a shortcut for a command or a longer option combination.
Syntax
git config --global alias.st statusExample
Example
git config --global alias.lg "log --oneline --graph --decorate"
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.