On Tue, Oct 13, 2009 at 06:17:13AM +0200, Daniele Segato wrote:
quoted
This seems to work:
$ cd ~
$ git init
$ echo '*' >.gitignore
$ echo '!.*' >.gitignore
quoted
Or better: provide a list of directory under $HOME I want to track
Same thing, but make your ! pattern more specific.
thanks again!
You're welcome, though while reading the quoted text I noticed a typo in
my instructions. The second echo should obviously be _appending_ to
.gitignore:
$ echo '!.*' >>.gitignore
Hopefully that was obvious, but I thought I would point it out for the
record.
-Peff