git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: iiijjjiii <iiijjjiii@gmail.com>
To: git@vger.kernel.org
Subject: Sharing home and etc files with git
Date: Thu, 05 Jun 2008 16:01:11 -0400	[thread overview]
Message-ID: <48484607.5090505@gmail.com> (raw)

I would like to use git to keep revision histories of my home and etc 
directories. I have several computers and I like to keep their 
environments similar. I could see git pulls updating .bash_aliases, 
.bashrc, and various bash and perl scripts I create in the home 
directory, and updating /etc config files. Git pushes would share any 
recent changes to other computers. This way no matter which computer I 
am working on, the environment will be similar and I can make changes 
and know they will be copied to the others.

I haven't figured out a good way to deal with the files that have local 
settings in them. Using .gitignore feels a little overkill. Only certain 
lines of the files need to be unique. Once they are set, I'd like 
subsequent changes to be updated. I could cherry-pick manually but I'd 
like a more automated method. I have read about etckeeper, 
git-home-history and gibak, but they seem to be designed for backing up 
and versioning files on one computer and not for sharing files.

Has anyone done something similar using git or is another tool more 
suitable.

Thanks
jimk

             reply	other threads:[~2008-06-05 20:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 20:01 iiijjjiii [this message]
2008-06-05 20:50 ` Sharing home and etc files with git Miklos Vajna
2008-06-05 22:48 ` Kelvie Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48484607.5090505@gmail.com \
    --to=iiijjjiii@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).