514 B
514 B
Home directory
Setup
- Clone this repo
git clone --bare [repo-url] ~/.dotfiles
- Checkout files into home dir
git checkout --repo "$HOME/.dotfiles" --workdir "$HOME" .
soruce .bashrc
Dotfiles
- Use
dotfiles
git alias to interact with dotfiles repo. E.g.dotfiles status
- Add files you want to track as exceptions to
.gitignore
(ordotfiles add --force
)
See also
https://github.com/kalkayan/dotfiles / https://news.ycombinator.com/item?id=27134249