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

Re: Git: "No you can't handle my root!" (?)

From
DSDaniele Segato <daniele.bilug@gmail.com>
Date
Oct 12, 2009, 21:37 UTC
Message-ID
<1255383459.15646.10.camel@localhost>
In-Reply-To
<20091012012826.7sffggwmm8sk0cc8@webmail.demarque.qc.ca>

Il giorno lun, 12/10/2009 alle 01.28 -0400, sylvain@demarque.qc.ca ha scritto:

> localhost / # git init
I don't see the point of using git on the root directory :)

but that made me think that it could actually be a good idea for /etc/ :) I happen to modify some configuration and then I forgot which one... and sometimes updates broke something

And that make me think of another question...

is there a way to have a git repo for a subset of directory that match a pattern?

for instance...

can I have a git report of $HOME/.* (without . and ..)? (all user setting)

Or better: provide a list of directory under $HOME I want to track 

Instead of providing the list of directory I want to ignore i would like to provide the list of the directory and files I want to track :)

I probably am going out of topic here but I hope you forgive me :)
Previous: Matthieu MoyNext: Avery Pennarun
Message 12 of 18 in “Git: "No you can't handle my root!" (?)”
  1. sylvain@demarque.qc.caOct 12, 2009
  2. sylvain@demarque.qc.caOct 12, 2009
  3. Steven NoonanOct 12, 2009
  4. Alex RiesenOct 12, 2009
  5. sylvain@demarque.qc.caOct 12, 2009
  6. Alex RiesenOct 12, 2009
  7. Jeff KingOct 12, 2009
  8. sylvain@demarque.qc.caOct 12, 2009
  9. Tony FinchOct 13, 2009
  10. Markus HeidelbergOct 12, 2009
  11. Matthieu MoyOct 12, 2009
  12. Daniele SegatoOct 12, 2009
  13. Avery PennarunOct 12, 2009
  14. sylvain@demarque.qc.caOct 12, 2009
  15. Jeff KingOct 13, 2009
  16. Daniele SegatoOct 13, 2009
  17. Jeff KingOct 13, 2009
  18. Wesley J. LandakerOct 15, 2009

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.