Skip to content

Instantly share code, notes, and snippets.

@tomerweller
Created September 5, 2019 07:40
Show Gist options
  • Save tomerweller/ca221eb6c2e6f675d95bd9ade58301a5 to your computer and use it in GitHub Desktop.
Save tomerweller/ca221eb6c2e6f675d95bd9ade58301a5 to your computer and use it in GitHub Desktop.
git init --bare $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment