Skip to main content
1 of 2
Andy Dalton
  • 14.7k
  • 1
  • 29
  • 50

An option is to use symbolic links. For example, say I have my git checkout out in ~/.dotfiles. I might have:

.vimrc -> ~/.dotfiles/vimrc .bashrc -> ~/.dotfiles/bashrc .bash_login _. ~/.dotfiles/bash_profile ... 

I would not, personally, check my home directory itself into the repo.

Andy Dalton
  • 14.7k
  • 1
  • 29
  • 50