Skip to content

Instantly share code, notes, and snippets.

@sefgit
Created August 8, 2024 03:38
Show Gist options
  • Save sefgit/ac26597a1088159b7d62d779cd1284b4 to your computer and use it in GitHub Desktop.
Save sefgit/ac26597a1088159b7d62d779cd1284b4 to your computer and use it in GitHub Desktop.
GIT notes
git fetch origin pull/ID/head:BRANCH_NAME
e.g. https://github.com/mementum/backtrader/pull/499
git fetch origin pull/499/head:PR499
git switch PR499
apply pull request patches:
git pull origin pull/469/head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment