readme work?
[dotfiles.git] / .github / README.md
1 # Dotfiles!!
2
3 ## How I manage dotfiles
4 This method of managing dotfiles was inspired by [this](https://www.youtube.com/watch?v=tBoLDpTWVOM) video.
5
6 TLDR;
7 Run in your home directory:
8 ```
9 git init --bare .dotfiles
10 ```
11
12 Then for ease of use add this alias to your bashrc (etc):
13 ```
14 alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
15 ```
16
17 After reloading the shell, run:
18 ```
19 dotfiles config --local status.showUntrackedFiles no
20 ```
21
22 Now you can use the normal git commands like so
23 ```
24 dotfiles add .bashrc
25 dotfiles status
26 dotfiles commit -m 'added .bashrc'
27 ```
28
29 ## Features
30