Murmele / Gittyup

Understand your Git history!
https://murmele.github.io/Gittyup
MIT License
1.54k stars 114 forks source link

I keep getting asked to authenticate #584

Open angeousta opened 1 year ago

angeousta commented 1 year ago

immagine

immagine

Murmele commented 1 year ago

Hi @angeousta can you explain more?

angeousta commented 1 year ago

Everytime I want to push something it asks me to authenticate, even though I have my token inside the remote repository url

immagine

Even if I authenticate next time I push I get asked to authenticate again...

If you have any questions I'm here

Murmele commented 1 year ago

You don't need your token in the url. Just use the normal https url for example (https://github.com/Murmele/Gittyup.git)

As "username" your username and as password your token.

angeousta commented 1 year ago

I can't because the whole point of me using gittyup was that i could config a different user (username and password/token) for each repository I have, without having to constantly switching profiles with the terminal.

It was super easy and it was my preferred git client precisely for that reason, I could manage different things (work, personal, etc) simply by pressing pull/push buttons, not having to worry which authour and push account will use, because it was always right thanks to this trick (including the username/token in the remote link)

Now it's all broken, if I did what you suggest I could maybe get different commit authours, but not different commit pushers (because each account has access to different repo, and I can't keep switching, it's unpratical)

If you have any idea on how to solve my situation and this annoying popup please let me know