From 5c083787ad40123005eeefb3c01018468466e50b Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Wed, 5 May 2021 11:38:05 -0500 Subject: [PATCH] ol and st aliases for git --- Microsoft.PowerShell_profile.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.47.3