You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just following the instructions on the main page of this project, step by step. After I do:
git subtree add --prefix=vm symfony-vm master
I get the following:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Working tree has modifications. Cannot add.
Not sure how to resolve this.
The text was updated successfully, but these errors were encountered:
You have to have a clean tree before being able to subtree stuff. After git init, you have to first add and commit everything and so you have a clean working directory.
After that you should be able to do git subtree add ... with no problem :)
I am still have the same issue even after starting with clean directory. Is there any resolution for the problem ?
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Working tree has modifications. Cannot add.
My git version is : git version 1.9.5 (Apple Git-50.3)
I found a fix.
if I add a dummy file and commit it than there is no error.
Hi there.
Just following the instructions on the main page of this project, step by step. After I do:
I get the following:
Not sure how to resolve this.
The text was updated successfully, but these errors were encountered: