1.查看远程分支: git branch -a 2. 查看本地分支: git branch 3. 创建并切换分支 git checkout -b 分支名 3.切换回分支: git checkout 分支名 4.拉取代码: git pull npm install 初始化导包 node_moudules npm run dev 先装num,打开 npm run build 5.上传代码: git add . git commit -m "dd" git push