【问题标题】:git requires a personal access token, but still does not accept themgit requires a personal access token, but still does not accept them
【发布时间】:2022-12-01 14:38:26
【问题描述】:

I wanted to push my react project to github, but if I try putting in my username and password, I get this message: The annoying part is when I try using a personal access token instead, I get the "fatal: unable to access 'https://github.com/samisamara/personalWebpage.git/': The requested URL returned error: 403" error. I used all saved tokens I had on me (I always remember to save my tokens so I don't lose them) and I even tried to make a new token, but neither worked. So git is making me use my github password instead of a personal access token...but also requires a personal access token instead. I'm basically locked out of doing any commits, and I have no idea what to do. Does anyone have a solution to this?

【问题讨论】:

    标签: git github


    【解决方案1】:

    I found an answer to this. When you generate a new token, you have to check mark the "repo" checkbox. I didn't check mark that last time, so the key didn't have permission to actually do anything.

    【讨论】:

      猜你喜欢
      • 2022-12-01
      • 2022-12-01
      • 2022-12-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-24
      • 1970-01-01
      • 2022-12-02
      相关资源
      最近更新 更多