Skip to content

Instantly share code, notes, and snippets.

@gsscoder
Created July 21, 2020 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsscoder/8bcbf50ec1a0fb0fc0b163ca27359329 to your computer and use it in GitHub Desktop.
Save gsscoder/8bcbf50ec1a0fb0fc0b163ca27359329 to your computer and use it in GitHub Desktop.
PowerShell profile code to stage git changes with one command
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