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
This is what worked for me:
git remote set-url origin https://username@github.com/username/reponame.git
Example:
git remote set-url origin https://jsmith@github.com/jsmith/master.git