Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git Setup to Checkout Pull Requests
#!/bin/bash
git config --add remote.origin.fetch +refs/pull/*/head:refs/remotes/origin/pr/*
git config -l
git fetch origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.