Git repository: Add Extras/Plugins as submodule

Git repository: Add Extras/Plugins as submodule

koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
edited July 2013 in General
Dear Allan,

I recently discovered an interesting Git functionality: submodules. A Git submodule can be considered as an Git repository inside another Git repository. This makes it possible to separately version the main module and each submodule, while keeping a relation between the two.

Would it be a good idea to add the Extras/Plugins as submodules of the DataTables repository?

Best regards,
Koos

Replies

  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    Sounds like a very good idea! Thanks for letting me know about that. I'll look at adding it in while I'm restructuring the repos.

    Allan
  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    Good read on the subject, also with some (possible) drawbacks: http://blogs.atlassian.com/2013/03/git-submodules-workflows-tips/
This discussion has been closed.