Last active
February 21, 2024 11:12
-
-
Save alovak/8c51419f156ba9e20b3f422787a4c920 to your computer and use it in GitHub Desktop.
Init .dotfiles
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
echo "alias config='/usr/bin/git --git-dir=\$HOME/.dotfiles/ --work-tree=\$HOME'" >> ~/.bashrc | |
git clone --bare https://github.com/alovak/.dotfiles.git $HOME/.dotfiles | |
git --git-dir=\$HOME/.dotfiles/ --work-tree=\$HOME config --local status.showUntrackedFiles no | |
echo ".dotfiles repo cloned. Reload bash to use `config` command" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment