Github remote permission denied

后端 未结 5 1094
小蘑菇
小蘑菇 2020-11-28 03:23

I\'m trying to upload my repo on github and go through all the steps upto:

git push -u origin master

at that point it gives me the following er

5条回答
  •  日久生厌
    2020-11-28 04:00

    1. Multiple users generate their own ssh key, Generating a new SSH key and adding it to the ssh-agent

    2. Adding a new SSH key to your GitHub account

    3. Alice Repository, git bash:

      • git config user.name "Alice"
      • git config user.email "alice@email.com"
      • eval $(ssh-agent -s),
      • ssh-add ~/.ssh/alice.private
      • ssh -T git@github.com, Testing your SSH connection
      • Git other operations
    4. Bob Repository, git bash:

      • git config user.name "Bob"
      • git config user.email "bob@email.com"
      • eval $(ssh-agent -s),
      • ssh-add ~/.ssh/bob.private
      • ssh -T git@github.com, Testing your SSH connection
      • Git other operations

提交回复
热议问题