gitee安装
记录一下,不然过两天就忘
下载git,安装
注册gitee,并创建ssh
在gitee新建仓库
用cmd初始化name和email
在本地要上传的项目中右键git bash
git init初始化后进行pull add push
大致是这样,期间遇到的问题
需要新建个分支才能上传第二个文件夹,然后和master合并
1.报错error
尝试删除.git 文件中的 pre.commit 文件
2.Your local changes to the following files would be overwritten by merge:
src/views/main/johntec/introduction.vue
Please commit your changes or stash them before you merge.
//出现这个错误的原因是修改代码前没有先git pull
git stash
git pull
出现一长排蓝色的 - 时
按住shift + : + w + Q