Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 354 Bytes

File metadata and controls

12 lines (9 loc) · 354 Bytes

dotfiles setup

Using a bare git repo for dot files management.

git init --bare $HOME/.dotfiles
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config status.showUntrackedFiles no

Then use dotfiles add, dotfiles commit, dotfiles push just like normal git. On a new machine, clone it and set up the same alias.