From ArchWiki
Revision as of 17:27, 20 June 2011 by James Eder (Talk | contribs) (Bash completion)

Jump to: navigation, search

Merge with Gitweb

As said, the sections to get git working over ssh, http and the git protocol should in my opinion be placed in this article.

Bash completion

Unless I'm mistaken, bash completion comes with git now so the instructions should be changed to simply:

source /usr/share/git/completion/git-completion.bash


Maybe note that it's also possible by installing bash-completion? --Xerdomii

The default Template:Filename (from the bash package) sources Template:Filename (optionally from the bash-completion package) if it exists. The Template:Filename script intern sources files in Template:Filename if they exist. With Arch's git package a copy of Template:Filename ends up in the Template:Filename directory. So, if you have the bash-completion package installed, completion for git should work automatically as soon as Template:Filename is processed. James Eder 13:27, 20 June 2011 (EDT)