Package: pyGitSwitch
pyGitSwitchGitHub Desktop Multi-account switcher➤ Why  :https://github.com/desktop/desktop/issues/3707Since GitHub Desktop doesn't natively support multiple accounts.So users often have to log out and log back into their work and personnel accounts and re-add the repos they're working on.This aims to solve that problem by keeping a copyRoaming\Github Desktopfor each user and then renaming the folder when asked and rename the folder back when switching to a new user. (records kept track using~/gitswitch.jsonfile)➤ How  :Make user login with each account in setup (init) process.rename.gitconfigandGitHub Desktopfolder with username at the end.When theswitchmethod is called rename the user folder toGitHub Desktopand copy over the.gitconfuserfile to.gitconf.update the~/gitswitch.jsonwith the current user details.➤ FAQQ:Does this work on Linux / macOS ?AnswerNo, this script only supports windows for now. Feel free to open a pull request if you have a patch for Linux / macOSQ:How do you use this?AnswerCheck the installation section below.➤ InstallationPythonWith Python >= 3.6pip install pyGitSwitchor install the latest development branch usingpip install git+https://github.com/AnvithLobo/pygitswitchWindowsWindows Standalone exeDownload the exe from releases (TBD) and add the exe and add the containing folder to your PATHhttps://stackoverflow.com/questions/44272416/how-to-add-a-folder-to-path-environment-variable-in-windows-10InitRungitswitch init(First run only)$gitswitchinit--helpusage: gitswitch init [-h] [-c USERNAME] [-u USERNAME [USERNAME ...]]options:-h, --help            show this help message and exit-c USERNAME, --current-user USERNAMEStore current user login as (do not delete current user)-u USERNAME [USERNAME ...], --users USERNAME [USERNAME ...]all usernames separated by space$gitswitchinit-cuser1-uuser2user3$gitswitchinit-uuser1user2SwitchRun account switcher$gitswitchswitch--helpgitswitch switch [-h] [-u USERNAME] [-d]options:-h, --help            show this help message and exit-u USERNAME, --user USERNAMEusername / userid to switch to-d, --do-not-start-githubDo NOT Start github after switching account$gitswitchStopping Github Process...Select Account  (Current User: User1)----------------------------------------1. User12. User23. User3Enter Your Choice (1-3) : 3---------------Switching account to user : User3Donejust runninggitswitchwithout any arguments will trigger theswitchcommand by defaultNon-interactive mode$gitswitchswitch-uUser2Switching account to user : User2Done$gitswitchswitch-u1Stopping Github Process...Switching account to user : User1DoneAdd User/sAdd more users.$gitswitchadduser-husage: gitswitch adduser [-h] USERNAME [USERNAME ...]positional arguments:USERNAMEoptions:-h, --help  show this help message and exit$gitswitchadduseruser4user5$gitswitchadduseruser6Delete User/sDelete user/s.$gitswitchdeluser-husage: gitswitch deluser [-h] USERNAME [USERNAME ...]positional arguments:USERNAMEoptions:-h, --help  show this help message and exit$gitswitchdeluseruser2user5$gitswitchdeluseruser1List User/sList user/s.$gitswitchshowusers----------------------------------| ID | User Name  | Current User |----------------------------------|  1 | User1      | ✓️            ||  2 | User2      | X            ||  3 | User3      | X            |----------------------------------➤ ToDo:...