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

From: Ray Racine (ray.racine at gmail.com)
Date: Thu Dec 13 10:00:29 EST 2012

If you are doing a git status and only wish to see changes applicable to
tracked files:

$ git status -uno -- .

If you are a Linux commandline type of guy, I like doing commit work using
'tig'.


On Thu, Dec 13, 2012 at 9:46 AM, Tobias Hammer <tobias.hammer at dlr.de> wrote:

> Edit .gitgnore and then use
>   git update-index --assume-unchanged .gitignore
> to tell git to ignore the changes.
>
> Revert with
>   git update-index --no-assume-unchanged .gitignore
> if needed.
>
> Tobias
>
>
>
> On Thu, 13 Dec 2012 15:22:29 +0100, Chen Xiao <chenxiao770117 at gmail.com>
> 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?
>>
>
>
> --
> ------------------------------**---------------------------
> Tobias Hammer
> DLR / Institute of Robotics and Mechatronics
> Muenchner Str. 20, D-82234 Wessling
> Tel.: 08153/28-1487
> Mail: tobias.hammer at dlr.de
> _________________________
>  Racket Developers list:
>  http://lists.racket-lang.org/**dev <http://lists.racket-lang.org/dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20121213/2c5b6e0d/attachment-0001.html>

Posted on the dev mailing list.