creating a new branch in git with one commit omitted -
There are 2 branches in my branch 2 and branch 2.
Branches.
Output of GIT logs at branch 1:
commit 'A' commit 'b' commit 'c' commit 'd' P> GIT log out on branch2: commit 'f' commit 'a' commit 'c' committi 'd' and I have a new It is like building a branch which is in sync with branch 1 and also has changes that are only in 'F'.
So the new branch should look like this
>
class = "post-text" itemprop = "text"> git checkout- b [new branch name] git cherry-pick [command 'f'] [ < / Pre>
Comments
Post a Comment