Support for multiple github accounts
Set-ExecutionPolicy AllSigned Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))
choco install -y git.install –params “/NoShellIntegration /NoCredentialManager /GitAndUnixToolsOnPath” choco install -y gitextensions
choco install -y kdiff3 choco install -y notepadplusplus
python -m venv $HOME/envs/gen
envs/gen/scripts/activate
pip install git_manage
open git bash
which git
cd /mingw64/bin
bash
exec ssh-agent bash
ssh-add -l
ssh-add ~/path/to/your/key
you need to configure your ssh client to apply keys associated with different github users.
Go to github and do that:
python envs\gen\Scripts\gitman -u new –update-config list-github