From: Jeff King Date: Tue, 13 Oct 2009 05:01:52 GMT Subject: Re: Git: "No you can't handle my root!" (?) Message-ID: <20091013050149.GA11317@sigill.intra.peff.net> In-Reply-To: <1255407433.15646.12.camel@localhost> On Tue, Oct 13, 2009 at 06:17:13AM +0200, Daniele Segato wrote: > > 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. > > 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