Thread (5 messages) flat view 5 messages, 3 authors, 2020-08-10
  • git bug · PANEL Christian <hidden> · 2020-08-06
  • Re: git bug · René Scharfe <hidden> · 2020-08-06
  • Re: git bug · Jeff King <hidden> · 2020-08-07
  • Re: git bug · René Scharfe <hidden> · 2020-08-10
  • Re: git bug · PANEL Christian <hidden> · 2020-08-10

Re: git bug

From: Jeff King <hidden>
Date: 2020-08-07 03:09:29

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).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help