Alias
A Git alias is a shortcut for a Git command. Git aliases are configured
in gitconfig files under the [alias]
section. To make an alias
for the git push
command the following can be configured:
[alias]
p = push
Now the command git p
will behave the same as git push
.