How to delete git repository from repository list
已回答
At the right bottom Idea has list of Git repositories

How could I delete repository from that list.
请先登录再写评论。
See Settings (Preferences on macOS) | Version Control | Directory Mappings.
Yes. It works. Thank you
Should be discussed again.
Yes it is deleted but after some actions (I did not catch, which exactly) it returns back again.
Actually, the full picture is looking like that: I delete module from project (either by pressing delete key on it in project structure or through menu) and its corresponding repository from repository list.
They both return. So, the question is: how to delete permanently module from project and its corresponding repository from repository list?
Ogudikov
Right click on directory | Mark directory as | Excluded
After a restart IDE shouldn't detect this folder and it shouldn't be listed in 'Unregistered roots'
I need delete not a directory, but module from project.
And repository from repository list.
Permanently.
Your advise doesn't work: module and repository being deleted (Idea restarted) at start of the day, returned back at the end of the same day.
Any idea?
Ogudikov
Do you make any operations on .idea folder? Does folder stop being "Excluded"?
You can also add folder to "Ignored files and folders" under Preferences | Editor | File Types
Ok, using this strange way to remove module form the project, it seems, I've got rid it finally.
Now how to remove redundant repository from repo list with no return it back in a day?
Ogudikov
Once you've added a folder to "Ignored files and folders" delete a repository from Preferences | Version Control | Directory Mappings and then restart IDE - it should disappear from there completely.