Skip to content
loading...

re: I just asked: Are .gitignore files from directories above the repository's or from home directory loaded in any versions of Git? VIEW POST

FULL DISCUSSION
 

Hello,

Normally, you have to declare your global ignore file in your ~/.gitconfig, like here. Than, the ignored files in your global ignore file will be ignore everywhere by git.

Generally, the global ignore file is use to ignore stuff like your IDE files / project fodlers, if you want to ignore some files in your home config, maybe you should create a .gitignore file in your home coonfig repository.

I hope it'll help you ! :)

code of conduct - report abuse