Re: [dev] [surf] introduce .gitignore

From: Chris Down <chris_AT_chrisdown.name>
Date: Fri, 15 Mar 2013 04:16:01 +0800

On 15 March 2013 03:52, Alexander Huemer <alexander.huemer_AT_xx.vu> wrote:
> Hi,
>
> On Thu, Mar 14, 2013 at 05:51:14PM +0100, Christoph Lohmann wrote:
>> On Thu, 14 Mar 2013 17:51:14 +0100 Christian Hesse <list_AT_eworm.de>
>> wrote:
>> > this introduces file .gitignore and makes git ignore files generates
>> > on build process.
>>
>> Why is this needed? When suckless moves to the next hip vcs on the block
>> another file needs to be introduced. So: No, just don’t add these files
>> to be tracked and the changes will not be committed as change.
>>
>
> It's best practice to have a .gitignore file.
> I recommend it for all suckless subprojects.
> You want to explicitly tell the VCS which files are not of interest for
> it, it can not know by itself.

Yes it can, just don't add them to the index... why would you
arbitrarily do `git add .' or similar? Just use git in the way that it
is *supposed* to be used.

Chris
Received on Thu Mar 14 2013 - 21:16:01 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 14 2013 - 21:24:07 CET