From: Ramkumar Ramachandra Date: Mon, 15 Apr 2013 17:50:56 GMT Subject: Re: [RFC/PATCH] clone: introduce clone.submoduleGitDir to relocate $GITDIR Message-ID: In-Reply-To: <516C21CF.5080705@xiplink.com> Marc Branchaud wrote: > git add ssh://host/blammo.git Heh. And I want git add *coffee* to make me coffee. What's your gripe with git submodule add? > I could have > ~/.git/ > to maintain revisions of various personal files, config .dotfiles, scripts in > ~/bin/ and so on. > [...] > Now, are these Code/* repos inside ~/.git/'s worktree or not? Please don't version your entire ~, effectively shooting yourself in the face? Use a dotfiles repo and write a simple Makefile to symlink ~/.etc to ~/dotfiles/.etc. If you're looking for a good example, see https://github.com/artagnon/dotfiles.