What's the advantages of git auto completion with bash?

Mario

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?

user456814

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.

edited at
0

Comments

0 comments
Login to comment

Related

Enabling auto-completion in git bash on windows?

Bash auto-completion

What's the relevance of these bash completion suggestions?

What's the meaning of `f` and `m` in PyCharm auto-completion?

Git auto completion behaving strangely

Auto completion with the BotFramework's WebChat

Override bash completion for git clone

Brew Git Bash Completion with zsh

How does Bash auto completion work?

FreeBSD csh style history auto completion in bash

How to enable bash auto-completion for a function?

Bash auto completion not working after certain command

What do the "S", "T" and "Pr" icons that appear in the "auto completion box" in Swift playground mean?

What libraries are available for contextual auto completion in javascript?

What's the advantages of using NSOutputstream?

Homebrew’s `git` not using completion

What are the advantages/disadvantages of Git's snapshot-based approach in practice compared to the traditional VCSs?

How to make bash completion work for git alias?

Git package breaks bash-completion?

Bash completion for git aliases containing multiple subcommands

How do I change bash history completion to complete what's already on the line?

Restricting MSYS (Bash) auto-completion to current directory

How to implements 2 level bash TAB auto-completion

Bash Auto-Completion feature for SSHing into Different Hosts

Bash auto_completion with Xubuntu and xrdp from windows

Make auto completion options remain on screen in zsh, like bash

OSX bash terminal auto-completion - odd behavior on double tab

Bash auto-completion with added spaces – why, and how to fix?

How to get the result from bash auto-completion as a string?