GitHub Desktop switch Profile script
So work has started using public GitHub, but wanting to tie it to my work e-mail rather than personal and I want to keep things separate. However, GitHub Desktop is a little annoying about switching profiles, so I made a script:
I'm sure there is somebody out there who's done something like this, but I got impatient trying to find one & did one myself today.
It's not as advanced as I would like; its just copying the directory in Roaming profile folder, but it wasn't clear where all the settings where. I might come back and do it later, but it works for now.
If you have only two folders, it will swap between them if you don't give it any parameters. You will have to create a new profile at least once with a name.
Posted Dec 16, 2019, 1:37 AM UTC