Gikas
Gikas

Reputation: 961

Git history. Find commits, included in merge commit

I have command: git log --pretty=format:'* %s' --no-merges --first-parent beta $(git describe --match builds/beta/* --abbrev=0 HEAD)..HEAD

to find commits between last builds/beta/.. tag and HEAD. But I want to include there commits from merge commits.

For example, I have commit: "Merge branch feature/request into beta. I want to get commits, included in that merge commit too. It is possible?

Upvotes: 0

Views: 84

Answers (1)

OznOg
OznOg

Reputation: 4732

you should try removing --first-parent

Upvotes: 1

Related Questions