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

[RFC PATCH 0/2] Teach how to discard changes in the working directory

From
AMAnders Melchiorsen <mail@cup.kalibalik.dk>
Date
Sep 7, 2008, 22:05 UTC
Message-ID
<1220825103-19599-1-git-send-email-mail@cup.kalibalik.dk>

Using "git checkout" to undo local changes is a hint that is often given in #git. This patch (part 2) adds the hint into the status output. A bit of restructuring appears in the initial patch.

This is merely an RFC, I am not sure whether I like it myself :-).
Anders.
Next: Anders Melchiorsen
Message 1 of 6 in “Teach how to discard changes in the working directory”
  1. 0/2 Teach how to discard changes in the working directoryAnders Melchiorsen, Sep 7, 2008
  2. 1/2 wt-status: Split header generation into three functionsAnders Melchiorsen, Sep 7, 2008
  3. 2/2 wt-status: Teach how to discard changes in the working directoryAnders Melchiorsen, Sep 7, 2008
  4. Junio C HamanoSep 7, 2008
  5. Pieter de BieSep 7, 2008
  6. Junio C HamanoSep 7, 2008

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.