#拉取仓库并推送
git config --global user.name "Administrator"
git config --global user.email "admin@example.com"
git clone http://X.X.X.X:9091/DevOps/test.git
cd test
touch README.md
git add .
git commit -m "add README and file"
git push -u origin master
#推送现有文件夹
cd existing_folder
git init
git remote add origin http://X.X.X.X:9091/DevOps/test.git
git add .
git commit -m "Initial commit"
git push -u origin master
#推送现有git仓库
cd existing_repo
git remote rename origin old-origin
git remote add origin http://X.X.X.X:9091/DevOps/test.git
git push -u origin --all
git push -u origin --tags