Search code examples
gitconfigwebstorm

Where to rename these in the WebStorm Git remotes screen


I want to rename the "angular" and "cloudmodule" to have "src" in front of it, but the edit button only lets you edit the actual remote name "origin" and not the circled parts. I need this for some reasons surrounding attaching subrepositories and having some with the same name albeit different things entirely.

enter image description here

From what I already tried, I think it's somewhere in the configs of the project names that are attached but I can't figure out where. Weirdly enough the eticket one went well directly, but the other two did not.


Solution

  • So, for whoever has some weird problem like mine. I found a "solution" or workaround depending on your view.

    Open both folders where the doubling names exist as projects to generate the .idea file and link the sub-projects/sub-git repositories in those Webstorm instances. Then edit a file with like a spacebar ( it can be git ignored file as long as its in there somewhere ), close the projects down, open the main project and since both folders should be opened then as well the git history for all of them should be accessible in 1 instance of Webstorm. This also works for PHPstorm and Pycharm, haven't checked other stuff.

    This was the solution that worked for me without renaming anything.