Programmatically adding/removing git root path

Hi All,

I want to know how to add/remove git root path programmatically within the plugin (which are show in the preferences -> Version Control)


Regards,
Mahmoud

1 comment

Use ProjectLevelVcsManager.getDirectoryMappings() to get the current list of mappings, add/remove your mapping as necessary, then use setDirectoryMappings() to save the changes.

0

Please sign in to leave a comment.