I am reading the book "progit". It tells me that I can use auto completion script under bash. But I'm not quite understand what benefit I can get from it. Was it automatically push my local git change to a remote git sever?
No, the purpose of auto-completion is to reduce the amount of typing that you have to do at the command line, thus saving you time and energy. When you enable Git auto-completion for your shell (such as Bash of zsh), many commands can be auto-completed for you by simply typing the first few characters of a command, then hitting the tab key to complete it.
For example, if you type
$ git chec
and then hit tab, auto-completion should complete the command as
$ git checkout
saving you the effort of typing the last 4 characters, kout
.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments