Use idea to upload items to the code cloud __idea add items to the code cloud

Source: Internet
Author: User
Tags using git
First, the basic process is this:
1. Generate SSH public key in code cloud
2. Create Project in code cloud
3. Clone items to Local
4. Create a project locally
5, build the local warehouse, the Association remote Warehouse
6. Use Idea version Control tool to submit to code cloud

1,
generate SSH Public key in code cloud
Please own Baidu

2. Create Project in code cloud

3. Clone items to Local



SSH creates a local repository with git using


4. Create a project locally

Create a local warehouse directly under the project folder

5, build the local warehouse, the Association remote warehouse

The first step is to set the global configuration, enter your code cloud account name and mailbox

The command then generates the. Git folder, generates the Readme.md file, and adds the file to the buffer

Here is the git and readme.md file that was just generated, and then create the file to submit

Note here is the reason for the push failure, before submitting a push must be associated with the remote warehouse readme.md file
To use the command:

git pull--rebase Origin master
Merging management of local warehouses and remote warehouses


After successful association, submit again, and then see the file just submitted on the code cloud. Here, using git to submit the local project to the code cloud has been successful.


6. Use Idea version Control tool to submit to code cloud
Finally, in talking about using idea managed items to the code cloud, please refer to the steps:





Note here that if you've already built Git folders and readme.md files with git in the project directory, you don't have to create a local warehouse, add operations and commit and push operations directly, remember to push, or just submit to the local warehouse.

Okay, it's over. Hopefully this tutorial will help with the children's shoes in need.

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.