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

Simple rollback or discard of un-commited changes

From
PCPeter CHARRON <pcharron@itelliseek.com>
Date
May 16, 2009, 02:00 UTC
Message-ID
<025F1C6D-1CAE-42BD-986B-1B53238882DE@itelliseek.com>

I've used a lot of Source Code Control systems, but I can't figure out how to do a simple discard (aka rollback) of one file using GIT.

What am I missing?
Next: Brandon Casey
Message 1 of 2 in “Simple rollback or discard of un-commited changes”
  1. Peter CHARRONMay 16, 2009
  2. Brandon CaseyMay 16, 2009

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.