Created
October 19, 2023 07:22
-
-
Save larryyangsen/581be5b5fca0cfcc7e6b75b34daeb1c1 to your computer and use it in GitHub Desktop.
find not cherry picked commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --format="%h %s" --cherry-pick --oneline --left-only --no-merges develop...master | | |
while read cmt_log | |
do | |
cmt_msg=`echo "${cmt_log}" | awk '{ $1=""; print }'` | |
git log --format=" %s" develop..master | grep --fixed-string -s "${cmt_msg}" > /dev/null || echo ${cmt_log} | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment