git

1:git的使用

git clone git@gitlab.s006.com:xujun/automatedtesting.git
git pull origin master 拉取最新代码
git diff HEAD^ 对比版本

git status 对比状态本地代码和云代码的状态,哪些不同
git add . 修改的代码全部添加提交到云仓库
git commit -m '判断没有log文件夹自动生成log文件夹允许脚本' 修改说明
git push -u origin master 修改的代码提交到云仓库

 

posted @ 2021-07-02 14:56  至高无上10086  阅读(22)  评论(0编辑  收藏  举报