setting username and email

git config --global user.name "wuquanan"git config --global user.email "382633764@qq.com"

Create a new repository

git clone http://192.168.0.106/oldfitshow/server.git#git clone -c core.longpaths=true http://192.168.0.106/oldfitshow/server.gitcd servertouch README.mdgit add README.mdgit commit -m "add README"git push -u origin master

Push an existing folder

cd existing_foldergit initgit remote add origin http://192.168.0.106/oldfitshow/server.gitgit add .git commit -m "Initial commit"git push -u origin master

Push an existing Git repository

cd existing_repogit remote rename origin old-origingit remote add origin http://192.168.0.106/oldfitshow/server.gitgit push -u origin --allgit push -u origin --tags