Skip to content

Instantly share code, notes, and snippets.

@switowski
Created January 21, 2019 17:04
Show Gist options
  • Save switowski/cd6143c087bb64c57012a1796e6e0fc0 to your computer and use it in GitHub Desktop.
Save switowski/cd6143c087bb64c57012a1796e6e0fc0 to your computer and use it in GitHub Desktop.
copr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && \
git checkout pr/$1; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment