Git 学习

xiaoxiao2021-02-28  124

git status //查看当前本地仓库的状态

git diff //对比本地修改

git checkut //取消本地修改

git add . //将本地修改提交到本地仓库

git pull --rebaser origin master // 拉取远程仓库的最新代码

git push origin master //将本地代码提交到远程仓库

一般提交代码的步骤 git add . git commit -m “" git pull --rebaser origin master git push origin master

转载请注明原文地址: https://www.6miu.com/read-61014.html

最新回复(0)