Prevent deleting .gitignore file

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Prevent deleting .gitignore file

From: baluchen <hidden>
Date: 2016-06-15 22:50:34

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

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:50:34

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

From: Bert Wesarg <hidden>
Date: 2016-06-15 22:50:34

On Wed, Feb 16, 2011 at 11:32, Ramkumar Ramachandra [off-list ref] wrote:
Hi,

baluchen writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help