git clone 仓库网址 | 克隆远程仓库到本地目录 |
git add . | 把所有文件添加到版本控制中 |
git add xxx | 把文件xxx添加到版本控制中 |
git commit -m "版本更新内容说明" | 提交之前add的文件到本地仓库 |
git push origin master | 将本地仓库新增或修改文件上传到远程仓库origin master |
git pull | 从远程仓库获取新数据 |
Git常用基础指令
猜你喜欢
转载自blog.csdn.net/amberoot/article/details/80539460
今日推荐
周排行