Sytone's Ramblings

The occasional posts of a guy who plays with technology.

Auto Update Git Aliases

2019-04-02 2 min read Development
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. Continue reading