git 新建项目
Git global setup
1 git config --global user.name "wanglimin" 2 git config --global user.email "wanglimin@shanchuan.cn"
Create a new repository
1 git clone git@192.168.1.20:wanglimin/XenderWiFiUpload.git 2 cd XenderWiFiUpload 3 touch README.md 4 git add README.md 5 git commit -m "add README" 6 git push -u origin master
Existing folder or Git repository
1 cd existing_folder 2 git init 3 git remote add origin git@192.168.1.20:wanglimin/XenderWiFiUpload.git 4 git push -u origin master