Closed bgarrant closed 6 years ago
Is the repo cloned with https:
or git:
? You can do git remote -v
to check.
git push from local to production on this one. Not clone function. the command you suggested said
origin ssh://perufcu/home/perufcu (fetch)
origin ssh://perufcu/home/perufcu (push)
There was already a .gitconfig
file created in the root before Spock was installed
There's a global git config you can set those in that'll be respected across your whole system. This isn't a Spock thing, just a git thing.
https://help.github.com/articles/setting-your-username-in-git/
Upon install, when tested Spock gives this error in logs:
I already have a .gitconfig in the root with these settings:
So where is it saving these new credentials? It is not in the root so must be elsewhere? I have Statamic installed above my webroot so maybe that is why? Regardless if I run those commands without the
--global
tag it fixes the issue: