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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -