提交代码

  • 代码修改好,本地单测通过,review 后就可以上传到 git 上了;

命令行提交

  • 命令行

从服务器同步

git pull

如果存在冲突,先marge

marge用法查看用户手册

将本地文件先存储到git本地仓库

git add .

提交到本地仓库

git commit -m '提交记录'

如果都没问题,可以提交到了git服务器了

git push

idea 提交

enter description here

1 是pull

2 是commit & push

先pull,再push

results matching ""

    No results matching ""