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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top