1.创建gitlab账号
2.在gitlab上创建目录,创建目录完成后会显示操作说明;
Command line instructions
Git global setup
git config --global user.name "xx"
git config --global user.email "xxx@sxx.cn"
Create a new repository
git clone http://xx@gitlab.wsx.cn/qa/sa-loadrunner-scripts_priority.git
cd sa-loadrunner-scripts_priority
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder
cd existing_folder
git init
git remote add origin http://xx@gitlab.wsx.cn/qa/sa-loadrunner-scripts_priority.git
git add .
git commit
git push -u origin master
Existing Git repository
cd existing_repo
git remote add origin http://xx@gitlab.wsx.cn/qa/sa-loadrunner-scripts_priority.git
git push -u origin --all
git push -u origin --tags