Skip to content

Instantly share code, notes, and snippets.

@wes-goulet
Created May 22, 2017 20:57
Show Gist options
  • Save wes-goulet/cb16b3de2e5845dd0820983ac2b90b61 to your computer and use it in GitHub Desktop.
Save wes-goulet/cb16b3de2e5845dd0820983ac2b90b61 to your computer and use it in GitHub Desktop.
Powershell profile to add some git aliases
$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
@wes-goulet
Copy link
Author

put into $HOME\Documents\WindowsPowerShell\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment