Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git push failed: 403

Today I tried to setup a project with my friend. First, we decided to use GitLab, but later, we switched to GitHub. At the beginning, everything worked fine, I was able to push, pull and so on. But later, maybe 45-60 minutes, every push requests failed. Pull works fine.

I really don't know what to do, heres the error: IntelliJ IDEA Git Push fail

We are working together using IntelliJ IDEA 2017.1.5 and also tried switching to SSH - which did not help.

Do you guys know how to fix this error? The repository still exists and I still have access to it. I also tried re-creating the project (from GitHub) and I also tried re-installing Git.


1 Answers

Double-check that you are the owner of that repo, and that you don't have 2FA (two factyor authentication) activated (if you have 2FA, see "IntelliJ How to access GIT remote repositories with 2-factor authentication")

Double-check also how your GitHub account is registered in IntelliJ.

like image 197
VonC Avatar answered Jul 11 '26 09:07

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!