How to ignore files in Git merge?
问题 I'm working on a (Django) website with two branches: master and dev . master is the production version and no work should be done here directly. All the changes should come from merging dev branch, once it is considered to be stable. dev , as you may guess, is the development branch and all the changes are made here (and subbranches). In the server I have two websites working, the production one (uses master branch) and another private for development, with dev subdomain that uses dev branch.