From b47cc6878f357ab9b24488e57eee5015c627c2d7 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 11 Aug 2014 16:16:56 +0200 Subject: [PATCH] Set git worktree so repo can be in another dir as git is greedy and takes everything in the homedir under its scope - see http://jasonkarns.com/blog/versioning-dotfiles-with-git/ --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 07f50d3..f2c2f44 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ dotfiles After having my homedirs in subversion for years, move to Git. ``` +mkdir ~/.dot +clone --no-checkout +git config core.worktree="../../../" +git checkout master +cd sh install.sh ```