From: Edward Delaporte Date: Wed, 5 May 2021 16:38:05 +0000 (-0500) Subject: ol and st aliases for git X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/5c083787ad40123005eeefb3c01018468466e50b ol and st aliases for git --- diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 4066948..d62bca4 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -81,3 +81,14 @@ Write-Host "+ Type 'pg' to enable PoshGit" if((Get-Location).Path -eq $HOME){ cd $env:src } + +function Get-GitLog() { + git log --oneline +} + +function Get-GitStatus() { + git status -b --short +} + +New-Alias ol Get-GitLog +New-Alias st Get-GitStatus \ No newline at end of file