Skip to content

Instantly share code, notes, and snippets.

@kui
Last active October 4, 2019 17:54
Show Gist options
  • Save kui/52bb84c7176b1770d927e930e4d58f04 to your computer and use it in GitHub Desktop.
Save kui/52bb84c7176b1770d927e930e4d58f04 to your computer and use it in GitHub Desktop.
List pull requests
git clone https://github.com/github/hub.git
cd hub
git log --grep="^Merge pull request #[0-9]* from .*/.*" --pretty=format:"%B" \
| sed -nr "/^Merge pull request /{N;N;s/^Merge pull request (#[0-9]+) from .*\\n\\n/\1 /p}"
#2291 Add completions for git fork
#2284 Improve `compare` upstream detection & documentation
#2274 Fix parsing `~/.ssh/config` on Windows
#2258 Added `hub pr` fish completions and wrapped `git` completions
#2256 Make hub easier to use from GitHub Actions
#2238 hub api url generation fixes
#2240 Update Cucumber and Aruba test runners
#2237 Change quotes in Sync command to be consistent with Git style
#2225 Remove NC/Nc from pr list formatting
#2211 Tweak Makefile to support older Go versions' backported module support
#2218 Fix error message on hub --paginate
#2216 README: Replace "Linuxbrew" with "Homebrew on macOS or Linux"
#2208 Avoid unnecessary conversions
#2207 Trap syscall.SIGTERM instead of os.Kill
#2206 Fixed ineffectual assignments in tests
#2205 Simplify code
#2198 Allow hub used in Actions by specifying GITHUB_USER
#2190 Improve push target detection for `push.default=upstream`
#1952 Docs: mention that comma-separated lists must not have spaces
#2142 build: pass mod vendoring flag on newer versions of go
#2169 Implement `hub api --paginate`
#2062 check head branch exists before creating PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment