github and gitlab create a new warehouse

github create a new warehouse


Then according to the command prompts to the next page

gitlab create a new warehouse

git init
git remote add origin git@***.***.**.**:user/project name.git
git add .
git commit -m "Initial commit"
git push -u origin master

Guess you like

Origin www.cnblogs.com/qujingtongxiao/p/11665134.html