Using Git for code push

Source: Internet
Author: User
Tags using git git commands

The first is the problem of the Ruijie wall, landing GitHub sometimes can sometimes not even, the network is very slow, so with full patience to fork out the code base. Link Https://github.com/niconiconiconi/helloworld

1. After that, download and install git and choose a location as your local repository directly after the installation is complete. Right-click to open git bash and initialize the local repository.

2. Search all kinds of GIT commands on the web

诸如git add xxxAdd File xxx to the buffer
git commit -m"注释"Submit documents and make comments
git remote add originAssociate a local library with a remote library
git push -u origin masterPush the current branch to the remote library
git cloneClone the file you want from the remote library, etc.

At first because of the wall problems caused time to timeout, after a period of time to try it again

Push code to GitHub

Using Git for code push

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.