📜  如何允许对我的新 github 帐户的权限 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:23.547000             🧑  作者: Mango

代码示例1
Here is your problem:

$ git config --get remote.origin.url
https://github.com/aliesoft/alienspine.git

You are using the HTTPS protocol. You can try to use public and private RSA keys to access your git repository. A tutorial on how to generate and add your public key to your profile can be found here: https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

After setting up the SSH key, try to push your code to git@github.aliesoft/alienspine.git. Change your remote origin with:

git remote set-url origin git@github.com:aliesoft/alienspine.git