Re: [RFC/PATCH] clone: introduce clone.submoduleGitDir to relocate $GITDIR
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 15, 2013, 17:50 UTC
- Message-ID
- <CALkWK0=S3=cLxJ85M-efD7fym29Y_pD5XyeBsunkiuPV=vVR4w@mail.gmail.com>
- 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?
Show 6 quoted lines
> 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.