1, the establishment of warehouses
Name on new bar, select default Create Warehouse Manual
2, download the software, address: http://windows.github.com/, after installation will have
Should be cached locally, then git tools, I am window7, there is a hint, and follow the instructions installed WIN7ANDW2K8R2-KB3134760-X64.MSU, restart
3, local git, choose the next account, I have installed before, all have two accounts, when not clear, so do
git config--global user.name "xxx", here "XXX" is the registered user name
git config--global user.email [email protected], here the mailbox is registered when the mailbox
4, and then clone the warehouse, I do not know whether the step must
ssh-t [email protected]
git clone https://github.com/findingsea/new.git
Https://github.com/findingsea/new.git: This address copies its own warehouse.
Cloning into ' myrepoforblog ' ... warning:permanently added ' github.com,207.97.227.239 ' (RSA) to the list of known hosts. Remote:counting Objects:3, done. Remote:total 3 (Delta 0), reused 0 (Delta 0) receiving objects:100% (3/3), done.
And then it's all right.
5, the key to the
CD C:\Users\lihaihong\Documents\GitHub\new here, the path location has not known how to change, it is better to change the
git Add.
Description of git commit-m ' xxxxxx ' modification
Git remote RM origin
Git remote add Origin https://github.com/findingsea/new.git
Git push Origin Master
This is good, go back and refresh, well, yes.
Did not encounter GIT push origin master error, if any, try Git pull Origin Master
6, GitHub Desktop, the last icon opened, found the cloning and modification of each operation, here are
Reference documents:
Http://www.cnblogs.com/findingsea/archive/2012/08/27/2654549.html
http://wuwenhui.blog.51cto.com/5954817/1559569
GitHub File Upload Tutorial