Question

I have branch one (not merged yet with master) I want to have branch two which has everything like in one.

Will be git checkout -b two enough?

Was it helpful?

Solution

Yes, when you are on branch one, just execute that command, and branch two will be created based at the last commit on branch one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top