Git global setup
git config --global user.name "wangdong"
git config --global user.email "wangdong@ibeifeng.com"
Create a new repository
git clone ssh://git@git.ibf.cn:10022/wangdong/Kf53ReceivePushInfo.git
cd Kf53ReceivePushInfo
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder
cd existing_folder
git init
git remote add origin ssh://git@git.ibf.cn:10022/wangdong/Kf53ReceivePushInfo.git
git add .
git commit
git push -u origin master
Existing Git repository
cd existing_repo
git remote add origin ssh://git@git.ibf.cn:10022/wangdong/Lagou_Spider.git
git push -u origin --all
git push -u origin --tags