Uploading code using GitHub on Windows rookie start

Source: Internet
Author: User
Tags git clone

I've heard of GitHub before, and Daniel's mission is in use, to facilitate the management of code, iteration, and participation in other people's projects, originally intended to do one, the result because the total cause has not been able to practice. Alas, I am a pseudo-programmer ... Not much to say, start your own GitHub for the first time

This article is for an introduction to the Windows environment.

1. Create your own account https://github.com/

2. Create a warehouse

In the top right corner of the page, there is a plus sign on the right, click "Create New"--"new repository"

3. Fill in the relevant information

 

  Once completed, create can

4. First install the GitHub shell program , Address: http://windows.github.com/

5. Open the software and fill in the information

Now the software is more intelligent, SSH key key generation is automatically completed, the file copy is also automatically in the interface operation, no need to enter the command

If you want specific commands, you can view the following

Generate key Ssh-keygen-c ' [email protected] '-t RSA

After three consecutive returns, the. SSH folder is generated under the Windows current User directory, and all the contents of the. pub file under the folder are copied. Open the Account Settings page in the Web page, under the SSK Keys Admin section, add key, and then in the title casually input, key bar paste just the key.

Test the key just now: ssh-t [email protected]

Info: warning:permanently added ' github.com,111.11.111.111 ' (RSA) to the list of known hosts. Hi xxxxxx! You've successfully authenticated, but GitHub does not provide shell access.

Success!

Clone the new repository to local command: Git clone https://github.com/XXXX/test.git

URL can be directly in the bottom right corner of the page to get

    

6. Upload

Command upload:

Git init

Git commit-m ' Stumansys '

Git remote add Origin https://github.com/Flowerowl/stumansys.git

Git push Origin Master

Software upload:

Copy the file directly to your clone's path, then click on the Commit on the software

  

  

Uploading code using GitHub on Windows rookie start

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.