下载gitlab上的代码:

git clone ssh://git@47.xx.xx.xx:4xx/xxx.git

查看git代码状态:

git status

不提交的代码文件:

git checkout  文件路径

将代码添加到工作区:

git add .

提交本地仓库:

git commit -m '备注'

拉取远程仓库的代码:

git pull 

提交到远程仓库:

git push origin master

相关文章:

  • 2021-07-15
  • 2021-08-13
猜你喜欢
  • 2022-01-06
  • 2022-01-21
  • 2021-11-18
  • 2021-06-23
  • 2021-12-04
相关资源
相似解决方案