git - global .gitignore vs .gitignore in repository -
if have global .gitignore setup , project has .gitignore in repo 1 in repo override global 1 or add rules example:
if global has:
*.exe *.ini
and repo has:
*.ini *.co
will *.exe's project?
both gitignores apply. in case, .exe not project.
however, if had !*.exe
in local repository gitignore, .exe files repository.
github has article subject: https://help.github.com/articles/ignoring-files
Comments
Post a Comment