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

git pull --rebase --autostash

From
FBFederico Bond <federico.bond@gmail.com>
Date
Jan 8, 2016, 15:24 UTC
Message-ID
<CABKJOiy1+QAgp=_3ofr4CqNH7ZPP_eR4P71yGSgeAYLBz92AZQ@mail.gmail.com>
Hi,

I was looking through the changes in 2.7 and learned about the very useful autostash feature of git rebase which was present since git 1.8.4.

I was wondering if there has been discussion about adding the same flag(s) for use with git pull --rebase. It seems odd that git pull --rebase honors the rebase.autostash config setting but there is no way to override it with a flag.

If you are OK with this, I can work on a patch to add --[no-]autostash to git pull.

Thanks,
Federico Bond
Next: Jeff King
Message 1 of 2 in “git pull --rebase --autostash”
  1. Federico BondJan 8, 2016
  2. Jeff KingJan 11, 2016

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.