Last active
November 6, 2018 07:20
-
-
Save FumiyaShibusawa/1162fcdd54963825c87c31c831e453a7 to your computer and use it in GitHub Desktop.
tweaking git config so `git fetch` would also get remote PRs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[remote "upstream"] | |
-url = git@github.com:organization/repository.git | |
-fetch = +refs/heads/*:refs/remotes/upstream/* | |
-fetch = +refs/pull/*/head:refs/remotes/upstream/pr/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment