Earlier, we set up a command alias for git by setting git config variables such as ALIAS.CI. command aliases can help users resolve usage issues after migrating from another version control system to git. CVs and subversion are generally used when submitting, using the CI (check in) subcommand, which is used when checking out the Co (check out) sub-command. If GIT does not provide support for simple commands such as CI and Co, users who have experience with other version control systems will have a compromised user health check. Fortunately, the smart git provides an alias mechanism to meet the user's specific usage habits.
The four alias settings directives listed in the previous blog create the most commonly used git aliases. In fact, aliases can also contain command parameters , such as the following alias setting directives:
$ git config--global alias.ci "commit-s"
If set, when using the git CI command, the-s parameter is automatically taken, which automatically adds the signature ID that contains the submitter's name and email address in the submission instructions.
The thought of git initialization what does the command alias do?