1, automatically git-completion.bash added to the user's home directory is hidden, add source ~ / .git-completion.bash in bashrc 2, define an alias $ config Git --global alias.co Checkout $ config Git --global Alias. Branch br $ git config --global alias.ci the commit $ git config --global alias.st Status
T