Git

From Lofaro Lab Wiki
Revision as of 14:39, 1 March 2015 by Dlofaro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tips and Tricks

Tab completion on Mac

curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash

add the following to ~/.bash_profile

if [ -f ~/.git-completion.bash ]; then
  . ~/.git-completion.bash
fi

re-source your ~/.bash_profile or open a new terminal.

Done.