After deleting the project on GitHub, IDEA shares the project to GitHub and prompts that Remote is already on GitHub

1. Error message

insert image description here

insert image description here

Two, the solution

1. Delete the project on GitHub

2. Find the .git hidden file in the project

insert image description here

3. Find the config file

insert image description here

4. Open the config file, delete [remote "git-test"] and the following two lines

insert image description here

5. Continue to use IDEA to share the project to GitHub

Guess you like

Origin blog.csdn.net/weixin_44904239/article/details/132105434