diff --git a/.gitignore b/.gitignore index 90b556b..c546a51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ * +!README.md !.gitignore !.aliases !.bashrc diff --git a/README.md b/README.md new file mode 100644 index 0000000..20136a2 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Home directory + +Initialize +* 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`) + +