June 2021
Beginner
264 pages
4h 30m
English
Stop working so hard! In this chapter, we will look at Git aliases, which greatly reduce the amount of typing you have to do. Aliases can be very simple, or they can take arguments and flags.
Aliases they allow you to create shortcuts to git commands. For example, I have the alias st, which stands for status. Thus, I enter:
git st
and it is exactly as if I had entered:
git status
We'll get to more exciting and useful aliases in just a moment, but first let's look at how these are created. To create an alias:
gitconfig--globalalias followed by a period and then the alias itselfThis sounds more complicated than it is. For example, ...
Read now
Unlock full access