Git aliases, like Unix aliases, are short commands that can be configured on a global level or for each repository. It is a simple way of renaming some Git commands to short abbreviations, for example,
git checkout could be
git co and so on.
It is very simple and straightforward to create an alias. You simply need to configure it with
What we will do is check a branch and then create its aliases one by one and execute them to view their output by performing the following steps:
gitAliasthat tracks the
$ git checkout -b gitAlias --track origin/stable-3.2 Branch gitAlias set up to track remote branch stable-3.2 from ...