Github Authentication Failed - ... GitHub does not provide shell access
You can add this in the ~/.gitconfig
file.
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
Now ssh will be used instead of https.
Try and redefine the ssh url for remote origin:
git remote set-url origin [email protected]:lut/EvolutionApp.git
And try again.
Only git remote set-url
can change an existing remote URL (as opposed to git remote add
, to add a new remote name and URL)
Here, the issue was the URL of the existing remote 'origin
', EvolutionApp
: it needed to be replaced by a valid one.
Using git config url."ssh://[email protected]/".insteadOf https://github.com/
would not have helped, considering there was no HTTPS URL in the first place.