I cloned a Git repository from my GitHub account to my PC.
I want to work with both my PC and laptop, but with one GitHub account.
When I try to push to or p
I had the same issue.
So I changed the .git/config file from my project,
.git/config
url = https://github.com//
to
url = git@github.com:/
and added the SSH public key to the Git profile which is in setting.
For the SSH public key:
cat ~/.ssh/id_rsa.pub