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
.
new git branch from existing one without merging with master
-
09-07-2023 - |
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?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow