美文网首页
github git 简单使用流程

github git 简单使用流程

作者: 闷油瓶小张 | 来源:发表于2017-05-09 20:49 被阅读20次

    clone

    1. git clone https://github.com/SwiftGGFETeam/egg.git
    2. cd egg

    创建分支并推送到远端

    1. git checkout -b basics.config
    2. git push --set-upstream origin basics.config

    编辑

    1. cd docs/source/en/
    2. cd basics
    3. touch config.md

    进行编辑

    提交

    1. git add config.md
    2. git commit -m '[翻译|校对|定稿]config.md'

    推送到远端

    1. git push

    pr

    image.png

    网页端切换到创建的分支并发起 pull request

    相关文章

      网友评论

          本文标题:github git 简单使用流程

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