A company uses Git for both application code and database version control. How should they structure their repositories to manage changes effectively?

  • Single Repository with Multiple Folders for Code and Database
  • Separate Repositories for Code and Database
  • Git Submodules
  • Git Subtrees
The company should use Separate Repositories for Code and Database. This approach provides clear separation between application code and database version control. Each repository can have its own history, branches, and releases, making it easier to manage changes independently. It also helps in maintaining a clean and focused history for each component, facilitating collaboration and version control for both application code and the database.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *