git创建一个分支下的子分支的正确方式应该是什么?
phpcn_u1582
phpcn_u1582 2017-05-02 09:37:55
0
3
650

git创建一个分支下的子分支的正确方式应该是什么

phpcn_u1582
phpcn_u1582

reply all (3)
迷茫

Two steps

#切换到分支 git checkout branch1 #基于该分支创建子分支 git checkout -b branch2_based_on_b1 branch1
    黄舟

    checkout -b

      仅有的幸福

      git checkout -b new branch name old branch name (this way of writing means creating a new branch based on the old branch)

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!