Skip to content
Marc Egea i Sala edited this page Feb 5, 2017 · 8 revisions

Based on https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/

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

dotfiles remote add origin https://github.com/meis/dotfiles
echo '.dotfiles' >> $HOME/.gitignore
dotfiles add .gitignore
dotfiles commit -m 'Initial config'
Clone this wiki locally