Command aliases in Git
To simplify work in the Git system, you can use command aliases. To do this, we write the config command with the --global flag, followed by the word alias and the alias name after the dot. Then, after a space, we specify the name of the command for which we are making an alias.
For example, let's make an alias for the commit command. Let's call it com:
git config --global alias.com commit
Now, to create a commit, you just need to enter the following into the terminal:
git com
Create an alias for the commit history view command and call it in the terminal.