GitHub usage Tips

Source: Internet
Author: User

1. First create the warehouse Hello_world on the GitHub Web page.

2. Download git, add my account and email to git bash

git config--global user.name "Zxysan"

git config--global user.email "[Email protected]"

3. Initialize git init

4. Put the Hello_world project file into the folder and enter the command git add Hello_world in git bash. Add File

5. Execute git commit-m "hello_world031302343"

Note "031302343" is used to differentiate between pairs of members

6. Execute git Remote add Origin https://github.com/kukikukikuki/Hello_World.git associated warehouse, but because of input error

Lead

Had to remove the previous steps, execute the instructions

Then re-associate the warehouse address

7 execution: Git push-u origin master uploads files

Upload successful

Warehouse Link Https://github.com/kukikukikuki/Hello_World

In-Library files Https://github.com/kukikukikuki/Hello_World/tree/master/Hello_world

Because of the increase in workload caused by some mistakes, this makes it easier for git to share the program data with the team members by learning more about the use of the command during the process of uploading files to git. At the same time, they also have to constantly make up the language gap.

GitHub usage Tips

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.