Re: Git: "No you can't handle my root!" (?)
- From
Jeff King <peff@peff.net>
- Date
- Oct 13, 2009, 05:01 UTC
- 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:
Show 12 quoted lines
> > 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