git的常见命令 提交命令: git add . git commit -m ‘第一次提交’ git push -u origin 分支名称 拉取: git clone 是把项目克隆下来 克隆下来后在vue 中 npm init npm install 然后根据提示install 相关的依赖即可 git pull 查看分支 git branch 切换分支 git checkout 分支名称 查看远程仓库 git remote