git Best Practice Recommendation -


i looking @ setting git repositories coming background in svn.

here want:

product repositories - these capture stand alone individual products (an application, library example)

  • application a
  • application b
  • library c
  • . . .

project repositories - these capture aggregations of products form solution particular customer.

  • project x repository
  • project y repository
  • project z repository
  • . . .

each project built of different combinations of products. example, project x built of application a, application b, , project specific code. project y build of application b, application c, , application d project specific code , settings. idea.

in svn, project repositories use svn-externals include version of products.

can accomplish repository concept detailed above or should thinking of different technique given power of git?

consider using git submodules. details can found in submodules chapter of free online git book. quoting book:

submodules allow keep git repository subdirectory of git repository. lets clone repository project , keep commits separate.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -