Friends,
Is there anyway to prevent/modify .gitignore file?
Thanks Bala
-- View this message in context: http://git.661346.n2.nabble.com/Prevent-deleting-gitignore-file-tp6030991p6030991.html Sent from the git mailing list archive at Nabble.com.
Friends,
Is there anyway to prevent/modify .gitignore file?
Thanks Bala
-- View this message in context: http://git.661346.n2.nabble.com/Prevent-deleting-gitignore-file-tp6030991p6030991.html Sent from the git mailing list archive at Nabble.com.
Re: Prevent deleting .gitignore file
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.
-- Ram
Re: Prevent deleting .gitignore file
On Wed, Feb 16, 2011 at 11:32, Ramkumar Ramachandra <artagnon@gmail.com> 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