How to upload the code cloud (using the code cloud)

Source: Internet
Author: User
Tags hosting

There are a lot of people using GitHub, and there are many people who use the code cloud today to talk about how the code cloud and the code cloud are used.

The code cloud is a domestic git hosting service, and the code cloud also offers a free git repository compared to GitHub. In addition, it integrates the functions of code quality inspection, project demonstration and so on. For team collaboration development, the code cloud also provides project management, code hosting, document management Services, 5 people below the small team for free.

Let's talk about how he used it today.

1. Enter the code Cloud official website, register the Code cloud account, enter my code cloud, below you can create the project we want 2. When you open a project after you've created it, you'll see the project you just created 3. Then we're going to upload the project (Open command)
  • GIT init project initialization
  • git Add. Add a file (remember that there are spaces behind add)
  • Git status pushes the local files you need into the cache (auxiliary commands, view your status, red for the workspace, green for the buffer)
  • git commit-m "file name" from the local warehouse to the local warehouse
  • Git remote add origin (Origin is warehouse name) + address (address is the address of your new project) create a local warehouse
  • git remote to see if the local repository was created successfully
  • Git pull--rebase Origin master pulls your offline stuff back to the local repository (aux)
  • Git push origin (warehouse name) master pushes the remote repository to the line
4The following errors may be encountered during the Operation

As long as the following actions can

$ Git pull Origin master--allow-unrelated-histories

5. So even if the upload is successful

How to upload the code cloud (using the code cloud)

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.