Created
November 8, 2019 22:23
-
-
Save Pan-Maciek/3bcc2dbf62401e6489ffd9393318af93 to your computer and use it in GitHub Desktop.
Instruction on how to create dotfiles git bare repo.
This file contains hidden or 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
mkdir ~/git | |
mkdir ~/git/dotfiles | |
# add alias | |
echo "alias config=$(which git) --git-dir=$HOME/git/dotfiles --work-tree=$HOME" >> .zshrc | |
source .zshrc | |
config config --local status.showUntrackedFiles no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment