Reputation: 103
I've got project that consists of a few small apps. Is it possible to separate them and after some work bring changes back to main?
Upvotes: 2
Views: 119
Reputation:
Create and work on topic and long running branches, merge between them and delete them. Take a look for more details http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging
Upvotes: 0
Reputation: 13761
The proper way to do this would be using submodules. They, like most of git, are very flexible and should be able to fit your workflow. While you could contort git's branching to do something similar, submodules are there for a reason.
Upvotes: 4
Reputation: 36
If you mean splitting them in git repository's. Yes, it's possible. Initalize a new repository for every part and put them in there. After you are done you can use a pull request to merge them together.
But i would try branches so look to Egryan's answer.
Upvotes: 0
Reputation: 717
Each app a separate branch and then once you are finished you could merge them back to master branch when you are done.
Upvotes: 0