Deploying a Git subdirectory in Capistrano

前端 未结 11 1390
梦谈多话
梦谈多话 2020-12-07 09:03

My master branch layout is like this:

/ <-- top level

/client <-- desktop client source files

/server

11条回答
  •  一整个雨季
    2020-12-07 09:35

    You can have two git repositories (client and server) and add them to a "super-project" (app). In this "super-project" you can add the two repositories as submodules (check this tutorial).

    Another possible solution (a bit more dirty) is to have separate branches for client and server, and then you can pull from the 'server' branch.

提交回复
热议问题