Created
December 5, 2018 15:58
-
-
Save s33dunda/55f71c5971dfcb2f32cc4105df256d63 to your computer and use it in GitHub Desktop.
For initing config tracking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
curl -Lks http://bit.do/init-config | /bin/zsh