문제

I am looking for a way to structure a project that is mainly built around a Qt application on Linux system. what I need is the following:

  • Project
    • .git
    • QT_Application
      • .git
      • src
      • resources
      • bla
    • Drivers
      • .git
      • src
      • libs
    • Utils
      • .git
      • src
      • libs

the Qt application will relatively access all other repositories like ../Utils/libs/xyz. does it make sense to separate it into git submodules and the root folder will be a git repo as well?

How would you realize it?

도움이 되었습니까?

해결책

If you want to have a main Git repository with Git repositories under it, you HAVE to use submodules. There is no other way to do it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top