[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add generated files to .gitignore
From: |
don fong |
Subject: |
Re: add generated files to .gitignore |
Date: |
Sat, 24 Feb 2018 12:36:37 -0800 |
Eric, thanks for the tip.
my feeling is that regardless of whether these files are pushed, they
clutter up the "git status" listing after i've done a build.
On Sat, Feb 24, 2018 at 11:28 AM, Eric Blake <eblake@redhat.com> wrote:
> On 02/24/2018 01:26 PM, Chet Ramey wrote:
>>
>> On 2/24/18 1:46 AM, don fong wrote:
>>>
>>> based on my experience creating one patch, running "make" and "make
>>> test", i found that "git status" was reporting a lot of generated and
>>> built files that i think should be ignored.
>>
>>
>> Those files aren't ever pushed to the bash git repositories (master,
>> devel).
>
>
> If Chet doesn't want to patch the primary bash.git to ignore them for
> everybody in .gitignore, you can still patch your downstream repo to ignore
> them locally by instead adding those exclusions to .git/info/exclude.
>
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3266
> Virtualization: qemu.org | libvirt.org