mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
357 B
357 B
dotfiles
Setup a bare git repo
git clone --bare git@github.com:davegallant/dotfiles.git $HOME/.dotfiles
alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # add alias to a .bashrc or .zshrc
source ~/.zshrc || source ~/.bashrc
config config --local status.showUntrackedFiles no
# override all config files
config checkout -f