[racket-dev] How to avoid to modify .gitignore when pull request

From: John Clements (clements at brinckerhoff.org)
Date: Thu Dec 13 13:38:02 EST 2012

On Dec 13, 2012, at 6:37 AM, David Van Horn wrote:

> On 12/13/12 9:22 AM, Chen Xiao wrote:
>> I fork the codebase on my local computer. Then I .configure & make &
>> make install, as a result, there are many compiled things like bin or
>> *.o files.
>> 
>> To avoid add them to my commit, I modify .gitignore to ignore them all.
>> 
>> But I can't avoid add .gitignore at all, isn't it?
>> 
>> So how do you solve this problem?
> 
> I suggest building in a build/ directory as described in src/README. There's already a .gitignore directive to ignore that directory.

+1.

I build racket all the darn time, with local changes, and I never have to fiddle with .gitignore.

John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4370 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20121213/ec4de525/attachment.p7s>

Posted on the dev mailing list.