Git全局设置
git config --global user.name "Administrator"
git config --global user.email "admin@example.com"

创建一个新的仓库
git clone http://119.3.148.98:8080/tomcat/tomcat.git
cd tomcat
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

现有资料夹
cd existing_folder
git init
git remote add origin http://119.3.148.98:8080/tomcat/tomcat.git
git add .
git commit -m "Initial commit"
git push -u origin master

现有的Git存储库
cd existing_repo
git remote add origin http://119.3.148.98:8080/tomcat/tomcat.git
git push -u origin --all
git push -u origin --tags