ignore more files in Git?

Andy Shevchenko andy.shevchenko at gmail.com
Tue Nov 30 16:39:36 CET 2021


On Tue, Nov 30, 2021 at 5:28 PM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> On Tue, Nov 30, 2021 at 3:23 PM Tom Rini <trini at konsulko.com> wrote:
> > On Tue, Nov 30, 2021 at 03:06:23PM +0200, Andy Shevchenko wrote:
> >
> > > Am I doing something wrong?
> > >
> > > $ git status --ignored
> > > On branch edison-acpi
> > > Your branch is up to date with 'gh-andy-shev/edison-acpi'.
> > >
> > > Ignored files:
> > >  (use "git add -f <file>..." to include in what will be committed)
> > >        tools/binman/__pycache__/
> > >        tools/binman/etype/__pycache__/
> > >        tools/concurrencytest/__pycache__/
> > >        tools/dtoc/__pycache__/
> > >        tools/patman/__pycache__/
> > >
> > > nothing to commit, working tree clean
> >
> > I don't know?  `git status --ignored` shows ignored files and
> > __pycache__ is in the top-level .gitignore file.
>
> These files are products of `make O=...`. There are no issues when I
> build inside the tree (dunno why). But I definitely won't build in the
> source tree folder.

I realized that I might be unclear about the point.
The problem here is that the source tree becomes dirty after clear
instruction to get all temporary stuff out of the tree folder.


-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list