aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--readme.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/readme.org b/readme.org
new file mode 100644
index 0000000..99cb95d
--- /dev/null
+++ b/readme.org
@@ -0,0 +1,17 @@
+#+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