I'm trying to create a gitsubtree of an existing repository, for example:
-> projectA/projectB
Project A is the parent, i want to add project B as a git subtree.
git subtree -P projectB ssh://git@github.com/projectB.git master
But it fails, and shows the following message:
prefix 'projectB' already exists.
I don't want to download all the repository again, I just want to add this directory to my gitsubtree.
This directory project B isn't tracked by Project A git.
thanks in advance