Dotfiles¶
Dotfile management using git.
Clone dotfiles repo to new machine:
1 | git clone --separate-git-dir=.dotfiles.git git@github.com:jhughes01/dotfiles.git && rm -rf dotfiles |
Within my aliases, I have the alias dotfiles, which wraps the git command for this dir.
Add file:
1 | dotfiles add -f dotfile.txt |
Update docfiles:
1 | dotfiles pull |