eclipse - 2 projects in git: for defects and for new functionalities -


i using egit , have 1 master branch. have new requirement add project can defect fixing in 1 branch , implement new functionality in one.

i did try create new local branch defects using eclipse, how retrieve class files? how can manage have 2 different projects using git , merge both of them whenever needed???

please recommend allow me manage 2 different projects , still able merge them whenever want to... or wrong way approach problem? if not how retrieve class files?

i don't think should doing 2 projects. biggest benefit of git can whatever work need on new branches. whenever need bug-fixing work, should create branch off master (where master should represent code that's been published).

then, when you've fixed bug, , code in branch has been released, code should merged master, reflect new state of live code.

entirely new features should use way of working, i.e. new work new feature on new branch. can branch off branches if wants fix bug in new, unreleased feature. , before releasing, should pull master (resolving conflicts) ensure releasing changes includes whatever has been released.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -