18 lines
514 B
Markdown
18 lines
514 B
Markdown
# 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` (or `dotfiles add --force`)
|
|
|
|
# See also
|
|
|
|
https://github.com/kalkayan/dotfiles / https://news.ycombinator.com/item?id=27134249
|
|
|
|
https://github.com/nickjj/dotfiles
|
|
|