GitHub: How to add open pull requests to local repo?

前端 未结 4 764
孤城傲影
孤城傲影 2021-01-31 04:49

I\'m using the NSDate-Extensions plugin in my iOS Xcode project. The master repo has some errors which seems to be fixed in two Pull Requests:

  • https://github.com/e
4条回答
  •  爱一瞬间的悲伤
    2021-01-31 05:11

    You can pull specific pull requests like this:

    git pull https://github.com/erica/NSDate-Extensions/pull/6
    git pull https://github.com/erica/NSDate-Extensions/pull/7
    

    imo this is much easier than adding a remote (especially when it is just one-off fixes) or piping via curl.

提交回复
热议问题