Skip to content

git alias for windows

Andre Winkler edited this page Mar 12, 2022 · 3 revisions

Windows Alias Powershell

notepad $PROFILE
function get-gitstatus { git status }
function get-gitdiff { git diff --word-diff }
Set-Alias -Name gst -Value get-gitstatus
Set-Alias -Name gdw -Value get-gitdiff
. $PROFILE

Clone this wiki locally