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 ! :)
We're a place where coders share, stay up-to-date and grow their careers.
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 ! :)