git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
YYuri <yuri@tsoft.com>
Date
Mar 7, 2022, 17:34 UTC
Message-ID
<47d5f648-fc24-2f6e-69fa-64962bd2a33c@tsoft.com>
.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
Message 1 of 1 in “git loses latest changes on 'git pull' when autoStash=true”
  1. YuriMar 7, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.