Auto Update Git Aliases

Because I am lazy I wrote a script so I can update all my machines from the one location which is the gist below. This works in powershell core. Again this is mostly for me but feel free to use as needed. Update your $profile to have th following environment variable set. This will allows the wid and pid aliases to work correctly. $env:GIT_PERSONAL_EMAIL = "personal@personal.com" $env:GIT_PERSONAL_USERNAME = "myname" $env:GIT_WORK_EMAIL = "work@work....

April 2, 2019 · 2 min · Jon Bullen