Re: Prevent deleting .gitignore file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 16, 2011 at 11:32, Ramkumar Ramachandra <artagnon@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]