I need o duplicate one folder in my project o another. But when I try:
git submodule add ./first-folder ./second-folder/sumbodule
it fails with:
fatal: clone of '[email protected]:username/projectname.git/first-folder' into submodule path
Am I doing something wrong or it's impossible by default and I should just mount it somehow? Thanks.