403 error when pushing to GitHub

前端 未结 1 1271
甜味超标
甜味超标 2021-01-20 19:28

I\'m trying to push a new local branch (named \"haystack\") to my github repo with:

git push -u origin haystack

But I get the error:

<
1条回答
  •  野性不改
    2021-01-20 20:12

    Edit your .git/config file so that the url is using either ssh or git protocol instead of https:

    url = git@github.com:Grails48/airbrake-grails.git
    

    0 讨论(0)
提交回复
热议问题