how to share the part of the project using git -


i have project share team. want parts of project shared.

i have thougth use branch. seems not work.

i have tried this:

git init git add -a git commit -m "first commit" git checkout -b share //delete files unshared git add -a git commit "commit @ share branch" 

do miss anything?

you may create 2 separate repositories, 1 private code , second shared code. using git submodules make shared repository part of private repository. submodules allow keep repository subdirectory of repository. way files managed git , still able share specific part of project others.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -