GitHub File Upload Tutorial

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.