Re: Sharing home and etc files with git

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kelvie Wong
Date: Thursday, June 5, 2008 - 3:48 pm

On 6/5/08, iiijjjiii <iiijjjiii@gmail.com> wrote:

Completely understandable; also remember that pushing, unlike pulling, does not
update the working tree (and you wouldn't want it to).


I'm fairly certain there are tools out there for this, but what I do is I have
all of the files that I want to add (such as ~/.${SHELL}rc, ~/.${SHELL}.d/*,
and .emacs) into ~/.git-home; then I symlink all of these files/directories
into my $HOME (with a short script that's also checked in).

I then throw this entire repo somewhere where all my other machines can
pull/push from, and I resolve merges as needed.  It works fairly well.

-- 
Kelvie Wong
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Sharing home and etc files with git, iiijjjiii, (Thu Jun 5, 1:01 pm)
Re: Sharing home and etc files with git, Miklos Vajna, (Thu Jun 5, 1:50 pm)
Re: Sharing home and etc files with git, Kelvie Wong, (Thu Jun 5, 3:48 pm)