git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Sharing home and etc files with git

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Jun 5, 2008, 20:50 UTC
Message-ID
<20080605205031.GH29404@genesis.frugalware.org>
In-Reply-To
<48484607.5090505@gmail.com>
On Thu, Jun 05, 2008 at 04:01:11PM -0400, iiijjjiii <iiijjjiii@gmail.com> wrote:
> I would like to use git to keep revision histories of my home and etc 
> directories.

First, git is to track content, not permissions. So it is not the right tool.

Second, you can try etckeeper which does this on top of git.

But still please keep in mind that you may have serious problems, like: if you get a conflict in /etc/passwd, you may not be able to login, etc...

Previous: iiijjjiiiNext: Kelvie Wong
Message 2 of 3 in “Sharing home and etc files with git”
  1. iiijjjiiiJun 5, 2008
  2. Miklos VajnaJun 5, 2008
  3. Kelvie WongJun 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.