I\'ve read the git log documentation, but I still find it very difficult to understand what the --ancestry-path option does. I see different ways to invoke
As the documentation says, --ancestry-path removes commits that are not descendant of origin/master. If you have a local, unmerged branch, and this branch is based on a commit which is older than origin/master, then commits in this branch will not be shown because these commits are not descendant of origin/master.