Skip to content

Instantly share code, notes, and snippets.

@snoek09
Last active August 29, 2015 14:23
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 snoek09/9e93849c8e00d8e0d91b to your computer and use it in GitHub Desktop.
Save snoek09/9e93849c8e00d8e0d91b to your computer and use it in GitHub Desktop.
Get pull request from deleted fork

git remote add upstream https://github.com/symfony/symfony-docs.git

Edit .git/config

In upstream block add fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*

git fetch upstream

git merge upstream/pr/5285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment