.git/config has these options: [pull] rebase = true [rebase] autoStash = true [merge] autoStash = truePeriodically latest uncommitted changes are lost when some unrelated commits are pulled.
Not all uncommitted changes are lost, only some of them. I couldn't figure out the condition.
git-2.34.1 FreeBSD 13. Yuri