首先需要将项目中的.git文件删除,然后进行下面的操作
git 仓库例:@e.coding.net:hepulan/hfq/hfq_vue2.0.git
git关联仓库
git init
git remote add origin git@你需要上传的git仓库
git fetch --all
git checkout -b develop
git add .
git commit -m "init"
git push origin develop -f
首先需要将项目中的.git文件删除,然后进行下面的操作
git 仓库例:@e.coding.net:hepulan/hfq/hfq_vue2.0.git
git关联仓库
git init
git remote add origin git@你需要上传的git仓库
git fetch --all
git checkout -b develop
git add .
git commit -m "init"
git push origin develop -f