Created
May 22, 2017 20:57
-
-
Save wes-goulet/cb16b3de2e5845dd0820983ac2b90b61 to your computer and use it in GitHub Desktop.
Powershell profile to add some git aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$env:PATH += ";C:\Program Files\Git\mingw64\bin" | |
function Invoke-GitFetchAll | |
{ | |
& git.exe fetch --all | |
} | |
function Invoke-GitStatus | |
{ | |
& git.exe status | |
} | |
New-Alias gf Invoke-GitFetchAll -Force | |
New-Alias gs Invoke-GitStatus -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put into $HOME\Documents\WindowsPowerShell\