Skip to content

Instantly share code, notes, and snippets.

@westdavidr
Created December 17, 2021 19:08
Show Gist options
  • Save westdavidr/7b25281660885a8c97080d33dfc0b222 to your computer and use it in GitHub Desktop.
Save westdavidr/7b25281660885a8c97080d33dfc0b222 to your computer and use it in GitHub Desktop.
.gitconfig with az aliases
[alias]
pr = "!f() { exec az.cmd repos pr create \"$@\" --open; }; f"
repo = "!f() { exec az.cmd repos \"$@\"; }; f"
build = "!f() { exec az.cmd pipelines run --name \"$@\" --branch \"$(git rev-parse --abbrev-ref HEAD)\" --open; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment