Answer the question
In order to leave comments, you need to log in
Why doesn't a .gitignore file work from a user's home directory on Windows?
The git config (part of it) looks like this:
[core]
excludesfile = %USERPROFILE%/.gitignore
autocrlf = input
safecrlf = true
.gitignore
.idea/
webstat/
front/content/images/
front/content/downloads/
front/view/images/
front/view/fonts/
Answer the question
In order to leave comments, you need to log in
Good afternoon, Stanislav!
I didn't work with git on Windows, but I use it very actively on Linux. If the question is still relevant, let's try to figure it out. I didn't really understand the problem. What is a turnip root and what is a user's home directory?
The .gitignor file must be in a directory that git watches for files. The same files can be placed in nested directories (for more flexible ignoring settings).
Perhaps Windows has specific rules for how git works. If so, I think we can find them and sort them out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question