gitlab推送新项目到新分支

the first step:  init git repository

git init 

git add .

git commit -m "init"

the second step :  add remote repository

git remote add origin git@192.168.0.105:dpg/ui.git // url

the third step : create new branch and switch to 

git checkout -b allinone-vue3 //new branch name

the fourth step :push local repository to remote repository

git push -u origin allinone-vue3 // new branch name

posted @ 2023-11-29 10:05  bruce_lee_1  阅读(101)  评论(0)    收藏  举报