also sprach Jens Peter Secher <[EMAIL PROTECTED]> [2008.02.17.1252 +0100]:
> I tried various systems, but ended up only moving (and linking)
> private dotfiles like .ssh/ and .gnupg/ in a git submodule.  That
> way I can check out my homedir without the private stuff on an
> insecure machine, as others have described.

The way submodules work is that the parent has a reference to
a specific revision of a submodule. So if you have two machines and
each have a submodule in ~/foo at commit A and you add some commits
to the first ~/foo submodule and push them, you cannot just tell
your ~ on the other machine to update; instead, you have to pull
~/foo and then commit ~ to tell it about the updated submodule.

I personally prefer the mr tool to submodules for this task.

martin | |
"never attribute to malice what can be
 adequately explained by incompetence." 
                                                       -- mark twain
spamtraps: [EMAIL PROTECTED]

Attachment: digital_signature_gpg.asc
Description: Digital signature (see

vcs-home mailing list

Reply via email to