From: Bert Wesarg Date: Wed, 16 Feb 2011 11:53:45 GMT Subject: Re: Prevent deleting .gitignore file Message-ID: In-Reply-To: <20110216103113.GA20959@kytes> On Wed, Feb 16, 2011 at 11:32, Ramkumar Ramachandra wrote: > Hi, > > baluchen writes: >> Is there anyway to prevent/modify .gitignore file? > > Just track it in Git? Everytime you try to stage changes and commit, > Git will alert you when .gitignore has changed. And writing a pre-commit-hook, which checks for changes to .gitignore. Bert > > -- Ram