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

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Thu Dec 13 09:37:23 EST 2012

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.

David


Posted on the dev mailing list.