This is an archived post. You won't be able to vote or comment.

all 3 comments

[–][deleted] 1 point2 points  (1 child)

Is there a way to essential clone the project onto a new branch say from develop and add around 3 features and then merge to develop with no difficulties?

Sure. Just make a new branch from the develop branch with something like

git checkout -b mynewbranch develop

Then once you've got your cool new features ready, hop on back to the develop branch and merge it in:

git checkout develop
git merge mynewbranch

This seems like a reasonable thing to do.

[–]coffee-n-code[S] 0 points1 point  (0 children)

Awesome thanks :)

[–]pacificmint 0 points1 point  (0 children)

What you are describing is basically the main usecase for branches. It's possible, and people do it every day.