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