Installation of Git, using IDEA to connect to the Gitee repository and disconnect from the Gitee repository [Super detailed]
Are you still worried about how to use Gitee repository?
Don’t know how to use IDEA to connect to your own Gitee repository?
When you try to connect to Git, you find that the connection is wrong and you don’t know how to disconnect IDEA from Git?
Congratulations, you have found a tutorial to quickly connect to Gitee! (Let’s learn one by one below!)
1. Git installation
1. Go to Git’s official website: https://git-scm.com/
2. Click Download
3. Select the corresponding download version
4. After downloading, click Install
5. Install (follow the steps below)
Git is now installed!
2. Use Idea to connect to your own created warehouse in Gitee
gitee official website: https://gitee.com/explore
Remember this address (it will be useful later)! ! !
It begins now, everyone! ! !
1. Find Create Git Repository under VCS and click OK
In this way, the .git folder is created (this folder may be hidden on the computer. Here is a tutorial on how to display this folder)
2. Click Commit under Git
3. Start preparing to connect to the Gitee repository
4. Copy the address of the Gitee warehouse you created
5. Upload your project to the Gitee repository
Sign of success!
6. Don’t rush to be happy, go and have a look in your own warehouse!
Congratulations on successfully uploading your project to your Gitee repository!
3. Disconnect the project in IDEA from Gitee
1. Click Settings under File
2. Find Directory Mappings under Version Control, unbind the interface bound to Gitee and apply it.
3. Open the location of the project in the file and set visible and hidden folders.
4. Delete the .git folder (be careful not to delete the wrong one!!!)
This completes the connection between the project in IDEA and Gitee.
If you want to know how to directly use Git to upload local projects to Gitee repository (without using the tools that come with IDEA), you can refer to my other tutorial:
Uploading local projects to Gitee repository
After reading the tutorial, I believe everyone will learn how to use IDEA The projects in are uploaded to the Gitee repository. If you have any questions, please leave a message in the comment area.