How do you organise multiple git repositories, so that all of them are backed up together?

前端 未结 6 1401
梦毁少年i
梦毁少年i 2020-12-22 14:55

With SVN, I had a single big repository I kept on a server, and checked-out on a few machines. This was a pretty good backup system, and allowed me easily work on any of the

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-22 15:34

    There is another method for having nested git repos, but it doesn't solve the problem you're after. Still, for others who are looking for the solution I was:

    In the top level git repo just hide the folder in .gitignore containing the nested git repo. This makes it easy to have two separate (but nested!) git repos.

提交回复
热议问题