1. gitee 网站管理本地项目
1)在gitee网站新建一个与本地项目同名的库
2)本地项目通过进入git bash先git init初始化。
3) 将本地项目与远程项目进行关联: git remote add origin https://gitee.com/bestheyuan/autopilot-cloud-platform.git
4)将项目所有内容加到暂存区(除去.gitignore中的内容):git add .
5) 将项目存到主分支master:git commit -m '提交注释'
6) 将项目推送到远程: git push -u origin master
2. gitee 网站拉取项目到本地
1) 找到要放项目的目录打开git bash。
2 )git clone https://gitee.com/bestheyuan/autopilot-cloud-platform.git
3 )https clone 的方式需要按提示输入gitee网站账号的用户名和密码,ssh clone的方式可用命令配置用户名和密码,再生成ssh key,就可以正常pull拉取代码,push上传代码了。