How can I find commits in the central/master branch that were rebased? I thought it might be handy to be able to see commits that are the result of resolved merge conflicts during a rebase pull.
Example:
local branch ahead of master x amount of commits
git pull --rebase origin master
conflicts found in file.txt
edit file
git add file.txt
git rebase --continue
rebased
git push
Now I want to look at the master branch and see which commits needed resolution before being pushed.
您可以尝试git reflog
,更多参考https://git-scm.com/docs/git-reflog
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.