This means that I cannot do this:
git submodule add -f git@github.com :thephpleague/oauth2-server.git libs/OAuth/functions
Because of this:
'libs / OAuth / functions' already exists and is not a valid git repo
I just do not understand. He does not exist anywhere. Is there another git configuration file hidden on my computer that I donโt know about or something else? I tried removing .git and pulling everything that didn't do anything. Any ideas?
I also tried this:
git ls-files --stage functions
When I was inside libs / OAuth and I got nothing.
Then I tried this:
sudo git rm --cached functions
I got this error:
fatal: pathspec 'functions' did not match any files
I also tried this:
sudo git rm -r --cached functions
And got the same previous error.
source share