First switch to the branch you merged into (likely develop
), then
git log --since=2024-10-01 --reverse --merges \
--author="$(git config --get user.name)" >merges.txt
Now switch to the target branch you want to merge into (maybe release-20240501
or so)