I just tried to add a github hosted repository as a subtree to my current project. I get an error for each file like:
From https://github.com/kayy/BundleVersionChecker
* branch master -> FETCH_HEAD
error: Invalid path '/Users/kay/Development/git/MyProject/Assets/Editor/BundleVersionChecker/.gitignore'
The URL is reported as Git repository, there is only the master branch as I just have started and the local relative path points to a non-existing directory name immediately under an existing directory.
I use the embedded git version of SourceTree 1.9.0 reported as 1.8.4.2. Confusingly when I enter git subtree I get:
git: 'subtree' is not a git command. See 'git --help'.
I am new to subtrees but used this project as a submodule before. What I am doing wrong here?
Thanks