gh-add-refs (242B)
1 #!/usr/bin/env bash 2 3 git config \ 4 --file=".git/config" \ 5 --add remote.origin.fetch '+refs/pull/*/head:refs/pull/origin/*' 6 7 git config \ 8 --file=".git/config" \ 9 --add remote.origin.fetch '+refs/pull/*/merge:refs/merge/origin/*'