Skip to content

Instantly share code, notes, and snippets.

@s33dunda
Created December 5, 2018 15:58
Show Gist options
  • Save s33dunda/55f71c5971dfcb2f32cc4105df256d63 to your computer and use it in GitHub Desktop.
Save s33dunda/55f71c5971dfcb2f32cc4105df256d63 to your computer and use it in GitHub Desktop.
For initing config tracking
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
@s33dunda
Copy link
Author

s33dunda commented Dec 5, 2018

curl -Lks http://bit.do/init-config | /bin/zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment