本地项目上传到gitlab

Earlyuan 2020-06-03

cd project
git init
git remote add origin http://gitlab.xxx.com/group/project.git    (删除本地origin:git remote rm origin)
git add .
git branch master    (删除本地分支:git branch -d master)
git push -u origin master    (删除远程分支:git push origin --delete master 或 git push origin :master)

相关推荐

就是那个胖子 / 0评论 2020-06-15