git - Should I commit .gitignore file? -
this question has answer here:
- should commit .gitignore git repos? 4 answers
this seems dumbiest question obvious answer. , me until now. but... after reading proper section of github help got lost. says:
this file can committed repository, sharing rule list other users clone repository.
up until now, everyone, i've been talking git telling me, .gitingore
file must commited or else it's rules won't work! every git-newbie's question: "why .gitignore
rules not applied?" can answered simple: "did commited it?".
and now, here comes github saying, file can be commited, isn't necessary...
yes, can track .gitignore file, not have to.
the main reason why people working on project ignoring same files.
also see this: should commit .gitignore git repos?
Comments
Post a Comment