git subtree add gives you "Working tree has modifications. Cannot add"
While seems confusing, i think it is pretty clear it meant what it says.
If you have any changes, please commit or stash it - make sure your branch is clean and neat :)
Or sometimes if you don't have any modification, just run the command "git reset".
And re-run the command.
Comments