threads / discuss / 57516

git loses latest changes on 'git pull' when autoStash=true

Subject: git loses latest changes on 'git pull' when autoStash=true

## tl;dr

One message between Mar 7, 2022 and Mar 7, 2022.

replies: 0people: 1as markdown or json

Yuri· Mar 7, 2022, 17:34 UTC · lore
.git/config has these options:
[pull]
         rebase = true
[rebase]
         autoStash = true
[merge]
         autoStash = true

Periodically 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

← back to recent threads