要创建项目文件夹下打开Git Bush Here --> git clone 远程仓库地址

原因: 之前登过别人邮箱号,导致克隆失败
解决: 第一步. C盘->用户->电脑用户名->.gitconfig->用vscode打开删除信息,然后保存即可 . 第二步.电脑搜索找到 凭据管理器->windows凭据->编辑普通凭据改成自己用户名密码
上传远程仓库
! 找不到git
原因: 没有切换到项目文件夹里面去
解决: cd 项目文件夹, 切换到项目文件
Git Bush Here
git status–> git add . --> git status -->git commit -m ‘项目完成进度 eg: layout左侧菜单栏完成’–>git pull–>git push

! 提示记录邮箱和用户名
解决: 复制
git config --global user.email “you@example.com”
git config --global user.name “Your Name” 改成自己的

先拉(pull)再推(push)