Skip to content

Instantly share code, notes, and snippets.

@bromanko
Created April 30, 2019 18:56
Show Gist options
  • Save bromanko/b7e68b0f49fe2c0ca4df2d0d1e96a388 to your computer and use it in GitHub Desktop.
Save bromanko/b7e68b0f49fe2c0ca4df2d0d1e96a388 to your computer and use it in GitHub Desktop.
git init --bare $HOME/.dotfiles
alias dot='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dot config --local status.showUntrackedFiles no
echo "alias dot='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment