diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2020-08-09 11:39:21 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2020-08-09 11:39:21 +0200 |
commit | b686013cc9ba58bac298afaa790722b7c653f774 (patch) | |
tree | c72a985ab61cde73caf5bba4e0a892c7141ed4c3 | |
download | dotfiles-b686013cc9ba58bac298afaa790722b7c653f774.tar.gz dotfiles-b686013cc9ba58bac298afaa790722b7c653f774.tar.bz2 dotfiles-b686013cc9ba58bac298afaa790722b7c653f774.zip |
Starting guide for dotfiles
-rw-r--r-- | readme.org | 17 |
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 |