Scenario
When you have a local repo and a new github repo, if you want to push to the new repo with one of your github account credential.
Check the config under .ssh.
1 2 3 4 5 6 7 8 |
|
Instead of adding your remote origin like this:
1
|
|
You should according change your host to which one exist and you are willing to use in config file
1
|
|