Create a new vue project on gitlab

 Choose according to your needs. I chose blank project here.

 

Then you can see your newly created warehouse

 Create a new project yourself

 Initialize username and email

git remote add origin +https地址 //链接远端库
git pull origin master  --allow-unrelated-histories//将远端的文件拉下来 逊于合并不想管的历史记录 允许本地仓库和远程仓库的历史记录不同

There is a high probability that the readme content will be different. Just select accept current change locally.

git add .
git commit -m "init"
git push --set-upstream origin master

 If you don’t have permission, remember to checkout and push to another branch (of course you have permission if you create it)

 Then you can see your project on gitlab

Front-end deployment of github's vue project from 0 to 1_Sun Kaifeng's blog-CSDN blog

Guess you like

Origin blog.csdn.net/weixin_44383533/article/details/129203856