sora
sora

Reputation: 1173

Collect all pull requests after the latest release on github

In my project, I always put issues that are handled in the release as follows.

#100 feature A
#101 Some fix
#102 feature B
#105 feature E

However, as the # of branches increases, it gets harder to manually chase all PRs that are merged after the latest releases. Is there any easy way to show list of the merged branches ordered by merge date descending? (Hopefully filter out the merges older than the latest version tag)

Upvotes: 1

Views: 2121

Answers (1)

nevihs
nevihs

Reputation: 1051

If you prefer command line utilities, you can use git log options to see what matches your requirements.

git log --pretty="%h - %s" --after="2008-10-01" 

Or you can use what was checked in for the last 2 weeks.

git log --since=2.weeks

Here, you can find more options:
https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History

Upvotes: 3

Related Questions