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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -