git - Should I gitignore my .gitignore? -



git - Should I gitignore my .gitignore? -

my concern since of projects on github, if else forks 1 of projects , utilize different ide me, want add together of ide-specific project files .gitignore. have decide if want force changes repository or not, , if don't, every time pull, modified .gitignore might have conflicts.

am worrying much little things? best practice? worth track changes in .gitignore or not?

don't ignore .gitignore file - developer-specific ignore rules, there 2 options:

repository-specific ignore rules: can set ignore rules in .git/info/exclude file. works same .gitignore file, it's not part of version controlled code.

per-machine, global rules: can create global git config file has ignore rules ide-specific configuration. create file anywhere on machine , tell git utilize global ignore file: git config --global core.excludesfile /path/to/ignorefile

there's more thorough documentation on github: https://help.github.com/articles/ignoring-files/

git version-control

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -