Questions
Questions copied to clipboard
What's the git command to find the PR merge commits directly made on a branch
Hi Everyone,
I'm trying to write a git command that can list all PR merge commits directly made on a specific branch. I tried below command but that didn't help me:
git log --first-parent origin/branch1
This command isn't listing PR merge commits directly merged into the branch1 and also it's listing PR merge commits merged into different branch that are brought into branch1 through merge. Any help is appreciated.
Thanks in advance!