FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.44k stars 639 forks source link

Authentication issues with Git #1532

Closed 27shutterclicks closed 2 years ago

27shutterclicks commented 2 years ago

I added a git repository as a remote and on first push a couple popup windows open to login to Git. I do but then nothing happens.

If I don't login right away, a Ungit popup shows to authenticate. I do and nothing happens.

Initially, there were error messages about password authentication but I also tried using personal access tokens as per the Git documentation and still doesn't work.

Any suggestions?

27shutterclicks commented 2 years ago

I solved this. It turns out I was using a (very) old version of Git for Windows - v2.13. I updated today to 2.37.3, which installed Git Credential Manager.

Now, when I pushed with Ungit, I got a new kind of GitHub popup window which included an option for providing a personal access token. Once that was done, everything got pushed and worked well.

Thanks!