#+TITLE: Managing my dotfiles * Installation ** From Scratch Create a new directory that will hold the files. It will create only the bare repo on the =git-dir= path. Yet, it is *not* a bare repo. It only has the folder structure of it. This is made on purpose so that I don't mess up trying to edit that folder. The =work-tree= is a link back to the home directory. #+begin_src bash git --git-dir $HOME/dev/dotfiles --work-tree $HOME init #+end_src Configure the link back to the main repository. #+begin_src bash echo "gitdir: $HOME/dev/dotfiles" > $HOME/.git #+end_src