the first step: init git repository
git init
git add .
git commit -m "init"
the second step : add remote repository
git remote add origin [email protected]: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
标签:git,repository,gitlab,init,add,step,branch,推送,分支 From: https://www.cnblogs.com/bruce-lee-blog/p/17863878.html