Open Source Project Hosting GitHub

Source: Internet
Author: User
Tags git client

Tools: Local HelloWorld Source project

msysgit (Windows)

Lab steps : First, create a new managed project on GitHub

                  in http:/ /github.com registered account 20159214-sunnan.

                 Complete the registration, Go to the GitHub platform and click new repositories   to create a new project

Enter project name HelloWorld Direct Create

Click the Clipboard icon in the right column to record the project address.

Second, upload the project to GitHub

Install a GIT client on the local computer:MsysgitWhen the installation is complete, go to the project root directory that you want to hostright-start git bash command line input git clone and then copy the previously recorded address to the back, enter

All files and folders that will be downloaded from the project folder, including the. Git folder, are all copied to the root directory of your managed project (or copy your managed project to that directory) CD HelloWorld into the root directory of the managed project.

Enter git Add. Add changes to the version manager

Finally enter GIT Push-u Origin master to submit the local repository to the GitHub account and enter the GitHub account number and password.

Problem:

Go back to the project page in github.com. The files inside didn't change. The GitHub project is not sure if the update was successful?

Open Source Project Hosting GitHub

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.