git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git bug

From
PCPANEL Christian <ch.panel@free.fr>
Date
Aug 10, 2020, 17:20 UTC
Message-ID
<1597080038.3096.1.camel@free.fr>
In-Reply-To
<c223cb39-501f-8ed1-9b82-2f7c2cb22886@web.de>

thanks a lot. It was exactly what I was seaching (and havent' read yet ;) )

best regards
Le lundi 10 août 2020 à 07:56 +0200, René Scharfe a écrit :
Show 34 quoted lines
> Am 07.08.20 um 02:02 schrieb Jeff King:
> > 
> > On Thu, Aug 06, 2020 at 10:23:54PM +0200, René Scharfe wrote:
> > 
> > > 
> > > So "file" is no longer ignored.  Committing the .gitignore change
> > > doesn't change that:
> > > 
> > >   $ git add .gitignore
> > >   $ git commit -m 2nd
> > >   [master d4c95a1] 2nd
> > >    1 file changed, 1 deletion(-)
> > >   $ git status
> > >   On branch master
> > >   Untracked files:
> > >     (use "git add <file>..." to include in what will be committed)
> > >   	file
> > > 
> > >   nothing added to commit but untracked files present (use "git add" to track)
> > > 
> > > Which steps did you take to arrive at a different result?
> > Perhaps also:
> > 
> >   git check-ignore -v file
> > 
> > would be helpful for seeing why Git thinks it might be ignored (e.g.,
> > another wildcard rule that happens to match it).
> Right.  And there is more than one possible place to specify files to be
> ignored.  E.g. you can use info/exclude in your Git directory (i.e.
> .git/info/exclude by default) for repository-specific patterns don't
> want to share.  See https://git-scm.com/docs/gitignore or the manpage
> of gitignore(5) for more details.
> 
> René
Previous: René Scharfe
Message 5 of 5 in “git bug”
  1. PANEL ChristianAug 6, 2020
  2. René ScharfeAug 6, 2020
  3. Jeff KingAug 7, 2020
  4. René ScharfeAug 10, 2020
  5. PANEL ChristianAug 10, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.