Is there some easy way to rename a git submodule directory (other than going through the entire motion of deleting it and re-adding it with a new destination name).
MacOs: When I wanna use VonC solution to change submodule folder Common to lowercase:
Common
git mv Common common
I get
fatal: renaming 'Common' failed: Invalid argument
Solution - use some temporary folder name and move twice:
git mv Common commontemp git mv commontemp common
That's all :)