I'm trying to add a vim plugin in my settings repo as a git subtree. No matter where I try to pull the subtree to, git replies with an error: pathspec
I'm using the command below while at repos root directory:
git subtree add --prefix .vim/bundle/powerline powerline master --squash
which results in output:
git fetch powerline master
From git://github.com/Lokaltog/powerline
* branch master -> FETCH_HEAD
error: pathspec '.vim/bundle/powerline' did not match any file(s) known to git.
I'm using git version 2.0.3
subtree add
to work correctly 🙃.