working with GIT and multiple projects

后端 未结 4 1100
予麋鹿
予麋鹿 2021-01-20 00:58

I have a core set of files I use for almost every project, but each project also has its own unique files too. When i work on one project i sometime update these core files

4条回答
  •  不知归路
    2021-01-20 01:13

    hmm... tough one maybe use a symlink?

    Could you change the structure in which those shared items are in a shared repo and that is checked out on its own. This way, you ideally have 3 repos for 2 projects as example.

    1 master 2 branch 3 shared

    Using an MVC always helps with this at gitgo.. ;)

提交回复
热议问题