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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top