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

Mirror plain directory under git

From
TSTong Sun <suntong@cpan.org>
Date
Sep 20, 2010, 19:12 UTC
Message-ID
<AANLkTi=9nqfzR-Zo85LieBuhv97oudCVZCex8ZL3mM0t@mail.gmail.com>
Hi,

How feasible it is to mirror a plain directory and put it under git revision control (leaving the original intact)?

More or less like what etckeeper is doing to revision /etc directory. I.e., I want to use git + some magic to replace rdiff-backup, so as not only easily to restore, but also easy to track revision changes as well.

It is just a wild dream?
Please CC me when replying.
Thanks
Next: Enrico Weigelt
Message 1 of 5 in “Mirror plain directory under git”
  1. Tong SunSep 20, 2010
  2. Enrico WeigeltSep 21, 2010
  3. Daniel JohnsonSep 24, 2010
  4. Tong SunSep 24, 2010
  5. Enrico WeigeltSep 24, 2010

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.