Change credentials in github desktop

Get help with using AutoHotkey and its commands and hotkeys
toralf
Posts: 792
Joined: 27 Apr 2014, 21:08
Location: Germany

Change credentials in github desktop

07 Jul 2020, 15:21

I use GitHub Desktop with two different accounts. One for GitHub and one for GitHub Enterprise.
When I switch between the repositories, I always have to switch my credentials for git in the options of GitHub Desktop.
This get’s annoying.
Does someone already automated this process? I couldn’t find anything by searching the forum.
Last edited by toralf on 08 Jul 2020, 10:54, edited 1 time in total.
ciao
toralf
BoBo
Posts: 3870
Joined: 13 May 2014, 17:15

Re: Changed credentials in github desktop

08 Jul 2020, 05:14

Bin nicht sicher ob ich hier :arrow: https://github.com/desktop/desktop/issues/3707 einen workaround gesehen habe, oder zumindest einen Ansatz zur Automatisierung?! HTH
User avatar
boiler
Posts: 6597
Joined: 21 Dec 2014, 02:44

Re: Changed credentials in github desktop

08 Jul 2020, 06:06

I’ve seen this several times. Please post in English in the English sections of the forums even if you’re directing your comments to a German speaker. The forums are meant for everyone to be able to learn from, not just the OP. Thanks.
toralf
Posts: 792
Joined: 27 Apr 2014, 21:08
Location: Germany

Re: Changed credentials in github desktop

08 Jul 2020, 10:52

Thanks BoBo,
I‘m aware of that thread. Unfortunately the request is closed for now as a future enhancement.
The current workaround is to go to the preferences and change user name and email for git. Then fetch to activate the change. Then I can commit.
The problem is that I sometimes forget to do this, and then I have commits with the wrong credentials.
ciao
toralf
BoBo
Posts: 3870
Joined: 13 May 2014, 17:15

Re: Change credentials in github desktop

08 Jul 2020, 11:10

Bc I don't use that application it's plain brainfarting: any chance that these configuration settings are kept somewhere else (registry/file) somewhere within the git-desktop-app structure?? https://medium.com/@pinglinh/how-to-have-2-github-accounts-on-one-machine-windows-69b5b4c5b14e

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Coiler, Flipeador, just me, mcl, mikeyww, monstermunch14, Netocon, SteveTranslator, Tulevik, WOlfen and 63 guests