Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 283 Bytes

File metadata and controls

10 lines (10 loc) · 283 Bytes

dotfiles

setup

$ set -gx GIT_DIR "$HOME"/.dotfiles
$ set -gx GIT_WORK_TREE "$HOME"
$ git init --bare $HOME/.dotfiles # or git clone
$ git checkout -f main
$ git sparse-checkout set --no-cone "/*" "!LICENSE" "!README.md"
$ echo "*" >> $HOME/.dotfiles/info/exclude