git 提交至远程服务器

  1. git add

  2. git commit(new ,modified,delete项均需要commit)

    • 添加注释

    • ctrl+X

    • y

    • enter

  3. git branch (查看当前所在分支)

  4. git push origin HEAD:refs/for/分支名称

  5. 查看远程(添加关注人)

posted @ 2022-02-22 15:22  安妍  阅读(58)  评论(0)    收藏  举报