Git global setup
git config --global user.name "****" git config --global user.email "****@****.com"
Create a new repository
mkdir test
cd test
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin **********
git push -u origin master
Push an existing Git repository
cd existing_git_repo
git remote add origin ssh://git@gitlab.makenv.com:10022/caoqitong/test.git
git push -u origin master