Idea how to upload local projects to coding platform management

Source: Internet
Author: User
Tags commit git client ssh access git clone

There are many platforms and tools for managing code, coding (Code city) is a good code management platform, now let's upload local projects to coding.

The first step, first, we go to the coding platform to register the account, and create the project on the platform

Copy the SSH access warehouse link for your project, I This is: https://git.coding.net/517497696/SpringBoot-Shiro.git

Step two: Create a git local repository

Download the GIT installation tool first and unzip

In the place where you want to create a git repository, right-click and choose Git Bush here to go to the GIT client control Panel

Enter panel input: Git clone https://git.coding.net/517497696/SpringBoot-Shiro.git

And your coding's account number and password.

Git Control Panel don't turn it off temporarily, this is your git local repository

Copy all of your project's files to the Git local repository

Here is the project under your idea, copy it to the GIT local repository

Git local repository is created

Step three, open idea, open the project in the Git local repository

Set the Git execution path (fill in the Git.exe path under the bin under the installation package you installed GIT) and test the success

Add a Git local project to VersionControl

Right-click on the project---choose git---Choose repository--Select Pull--see there are three of these, indicating success, if not

In the GIT client Control Panel, enter the following command to set up the remote repository for the project

Git remote add Origin https://git.coding.net/517497696/SpringBoot-Shiro.git

Each time you upload a code, pull and new, and then submit the upload

Right-click the project, select Git, and select Add. The code file is green so that you can commit the code.

First select SRC for the project and commit the code

Select Commit and Push ... Upload code to coding

Upload successful

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.