Created
July 21, 2020 07:57
-
-
Save gsscoder/8bcbf50ec1a0fb0fc0b163ca27359329 to your computer and use it in GitHub Desktop.
PowerShell profile code to stage git changes with one command
This file contains 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
function Set-GitChanges { | |
gaa | |
gcam Staging | |
ggp | |
} | |
Import-Module posh-git | |
Import-Module git-aliases -DisableNameChecking | |
Set-Alias -Name stage -Value Set-GitChanges |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment