Git global setup
git config --global user.name "xxx"
git config --global user.email "xxxx.com"
新建工程
mkdir AAA
cd AAA
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin http://xxx:xx/sss/AAA.git
git push -u origin master
推送现有的Git存储库
cd existing_git_repo # 进入到已有的项目路径
git remote add origin http://xxx:xx/sss/AAA.git
git push -u origin master