美文网首页
Git管理项目-分支创建

Git管理项目-分支创建

作者: 122604 | 来源:发表于2020-06-01 16:37 被阅读0次

    1、git branch -a 查看本地及远程分支;


    branch_for_create_1.png

    2、git checkout -b 创建本地develop分支;


    branch_for_create_2.png
    3、git add添加文件到待提交列表,git commit 提交文件到本地仓库中相应分支;
    branch_for_create_3.png

    4、git push --set-upstream origin develop 推送本地分支到远程仓库;


    branch_for_create_4.png

    相关文章

      网友评论

          本文标题:Git管理项目-分支创建

          本文链接:https://www.haomeiwen.com/subject/ipjszhtx.html