Trouble : .gitignore file look's doesn't work on Windows 11 & Git 2.32.0

160 views
Skip to first unread message

killian lauker

unread,
Jul 6, 2021, 3:54:24 AM7/6/21
to git-for-windows
Hi,
I recently updated Windows 10 to Windows 11 ( with insider ) and installed the last version of git. And now, it's look's like git doesn't take heed of my gitignore file.
( I've attached an screenshot to show you what's strange )
This is my git global config :
```
[user]
    email = ***
    name = ***
[core]
    longpaths = true
    editor = code --wait
    excludesFile = .gitignore
[filter "lfs"]
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
    process = git-lfs filter-process
    required = true

```
And this is my local config :
```
[core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    symlinks = false
    ignorecase = true
[gui]
    wmstate = zoomed
    geometry = 893x448+503+281 175 196
```
git pb.png

Know and Learn

unread,
Jul 7, 2021, 3:48:20 PM7/7/21
to git-for-windows
Não estou confiante em alterar o SO ainda.
Alguns fizeram os testes com a SO vazada a pouco, mas não vejo motivos pra isso.

Johannes Schindelin

unread,
Jul 13, 2021, 8:47:53 AM7/13/21
to killian lauker, git-for-windows
Hi Killian,


On Tue, 6 Jul 2021, killian lauker wrote:

> I recently updated Windows 10 to Windows 11 ( with insider ) and installed
> the last version of git. And now, it's look's like git doesn't take heed of
> my gitignore file.

Is your `.gitignore` file UTF-8 encoded, or UTF-16LE encoded? Git won't
understand the latter.

Ciao,
Johannes
> --
> You received this message because you are subscribed to the Google Groups "git-for-windows" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to git-for-windo...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/git-for-windows/392106cc-3e34-4d33-8a59-2c9c395e4208n%40googlegroups.com.
>
Reply all
Reply to author
Forward
0 new messages