Windows git uploads local projects to GitHub

Source: Internet
Author: User




Http://www.git-scm.com/download/git Download

Generate Sshkey

Ssh-keygen-t rsa-b 4096-c "[Email protected]"

Add to GitHub

Official Help: https://help.github.com/articles/generating-ssh-keys/

Here's an operation: Http://www.tuicool.com/articles/j2iqaa

Windows appears as

Permission denied (PublicKey).

That's because git defaults to his installation file. SSH directory to find Id_key put the generated key into the inside just fine


If the local operation cannot be linked to the GitHub repository, clone the repository, copy the. git file to the project path, and then execute the sample off command

git Add. Add File

Git commit-m Init submitted to Warehouse

Git push origin master pushes to GitHub


For beginners, it would be relatively easy to use Smartgit.

Windows git uploads local projects to GitHub

Related Article

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.