Git: merging public and private branches while while keeping certain files intact in both branches

后端 未结 4 711
梦毁少年i
梦毁少年i 2020-12-01 05:52

I\'ve read a few git questions here, but could not find an answer to this one:

I have a public and a private branches where I want to allow certain files to diverge.

4条回答
  •  [愿得一人]
    2020-12-01 06:01

    Keep passwords under version control is the worst idea ever. You need CVS, not git, to work with separate files. Git as many other modern DVCS working with the entire tree, not with separate files.

提交回复
热议问题