标签:新建 div oba sha folder repo pos git add commit
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
标签:新建 div oba sha folder repo pos git add commit
原文地址:http://www.cnblogs.com/flying--pig/p/7791592.html