Skip to content

Instantly share code, notes, and snippets.

@minademian
Last active February 9, 2017 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minademian/914bd12b3e9041be54cc0f5403059cd2 to your computer and use it in GitHub Desktop.
Save minademian/914bd12b3e9041be54cc0f5403059cd2 to your computer and use it in GitHub Desktop.
git init --bare $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment