I work with the operating system Linux-Mint and PhpStorm. Every time I make a push, fetch, pull etc. with PhpStorm, PhpStorm asks me for a username and password. I have already created a GitHub user in the PhpStorm settings, I have also created an SSH key and a personal token - unfortunately PhpStorm still asks for the data.
I tried the whole thing on a Windows 10 system. I was asked for my data only once, then entered it and it worked. Shortly after I got a notification from GitHub that a personal token was created.
Why doesn't this work with Linux (Mint)? Who can help me?
For me what worked is, setting token auth in git repo. Set origin with following
git remote set-url origin https://[TOKEN]@github.com/[PATH TO REPO].git
Now Github doesn't support password auth, so this is the preferred way.
If you don't have the token already then need to set that in profile, for that you can follow the guide https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With