Skip to content

Instantly share code, notes, and snippets.

View kili-ilo's full-sized avatar

👩🏼‍🔧 jan kili 🥝⚙ kili-ilo

View GitHub Profile
@kili-ilo
kili-ilo / Git branch bash autocomplete *with aliases*
Last active September 17, 2015 15:42 — forked from JuggoPop/Git branch bash autocomplete *with aliases*
Git branch bash autocomplete *with aliases* (add to .bash_profile)
# To Setup:
# 1) Save the .git-completion.bash file found here:
# https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
# 2) Add the following lines to your .bash_profile, be sure to reload (for example: source ~/.bash_profile) for the changes to take effect:
# Git branch bash completion
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
# Add git completion to aliases