先配置信息
1. git config --global user.name "linlianhuao"
2. git config --global user.email "[email protected]"
創建倉庫並提交代碼
1. git init
2. git remote add origin git@gitlab.***.com:linlianhuao/**.git
3. git add -A
4. git commit -m 建立項目
5. git push -u origin master
拉取遠程代碼
1. git clone git@gitlab.***.com:linlianhuao/**.git
2. cd **
3. git add -A
4. git commit -m 提交信息
5. git push -u origin master