Set "DIR_TO_DELETE=%AppData%\GitHub Desktop-Temp"įOR /D %%p IN ("%DIR_TO_DELETE%*. Xcopy "%AppData%\GitHub Desktop-Temp" "%AppData%\GitHub Desktop-OtherAccount" /E /O /X /H /K /Y Set "DIR_TO_DELETE=%AppData%\GitHub Desktop-OtherAccount" Xcopy "%AppData%\GitHub Desktop-OtherAccount" "%AppData%\GitHub Desktop" /E /O /X /H /K /Y Set "DIR_TO_DELETE=%AppData%\GitHub Desktop" Xcopy "%AppData%\GitHub Desktop" "%AppData%\GitHub Desktop-Temp" /E /O /X /H /K /Y If you're prompted for an administrator password or confirmation, type the password or provide confirmation. Md "%AppData%\GitHub Desktop-OtherAccount" Open User Accounts by clicking the Start button, clicking Control Panel, clicking User Accounts and Family Safety, clicking User Accounts, and then clicking Manage another account. If "%ERRORLEVEL%"="0" taskkill /F /IM GitHubDesktop.exe Tasklist /fi "ImageName eq GitHubDesktop.exe" /fo csv 2>NUL | find /I "GitHubDesktop.exe">NUL Hi, like everyone else I started using the desktop because I find it cool but the fact that it's not multi-account I find really boring, so I wrote a small bat file to switch between 2accounts ( it's very easy to use, but does the job), I'm too lazy to make a GUI lol Something worth to mention is that in the near future we're going to remove the user/password authentication mechanism and only keep the browser-based one, which can make it trickier for you to switch between accounts (you'll need to switch accounts on your browser first).Ĭan I take the opportunity to ask you what's your use case for switching between GitHub accounts, how often do you do it and how do you decide to use one account or another (is it based on the repository you're working)? Also, how do you normally manage the accounts on ? do you have multiple browsers each of them logged in with a different acount? If that would work it would be the best way.įrom what I understand, you often signout/signin using user/password to switch between different GitHub identities. Honestly, I think the best solution is to finally support multiple account signin so we won't have to type the password over and over. I'm preparing a fix for a little bit offtopic but I saw you mentioned this: Thanks for the information! I've investigated further and it looks like this issue has been present for a while, but it's possible that the previous layout of the modal didn't persuade users to press "enter" while on the user/password inputs. I just tried with the mouse several times and it didn't happen then with the enter key it did. I think you're right, it's related to the enter key. Yes, it's happening there (in Preferences window).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |