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