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

Re: [PATCH] Add `restore.defaultLocation` option

From
HSHugo Sales <hugo@hsal.es>
Date
Mar 26, 2023, 10:53 UTC
Message-ID
<20230326105339.609573-1-hugo@hsal.es>
In-Reply-To
<00a07e7d-7605-48df-0192-775c2fee39a3@hsal.es>

Wanted to add that since `git status` suggests using `git restore --staged` to reset index entries, I'm sure it has happened many times that a user ran `git restore` and lost work

Previous: Hugo Sales
Message 6 of 6 in “Add `restore.defaultLocation` option”
  1. Add `restore.defaultLocation` optionHugo Sales via GitGitGadget, Mar 11, 2023
  2. Junio C HamanoMar 12, 2023
  3. Junio C HamanoMar 13, 2023
  4. Junio C HamanoMar 13, 2023
  5. Hugo SalesMar 14, 2023
  6. Hugo SalesMar 26, 2023

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.