Re: Git: "No you can't handle my root!" (?)
On Mon, Oct 12, 2009 at 11:37:39PM +0200, Daniele Segato wrote:
Show 6 quoted lines
> 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
Take a look at:
http://joey.kitenet.net/code/etckeeper/
> can I have a git report of $HOME/.* (without . and ..)? (all user
> setting)
This seems to work:
$ cd ~
$ git init
$ echo '*' >.gitignore
$ echo '!.*' >.gitignore
> Or better: provide a list of directory under $HOME I want to track
Same thing, but make your ! pattern more specific.
-Peff