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

Moving a file back to an earlier revision.

From
David Ho <davidkwho@gmail.com>
Date
Mar 31, 2006, 21:13 UTC
Message-ID
<4dd15d180603311313t7781f2ebk616276e9134f6472@mail.gmail.com>
Hi,
Another user question.  Other may actually have similar needs.

I am working on a board port on a separate branch. The branch has accumulated several revision of changes to a driver I worked on. Now, someone has come along with a better fix so I want to help test his patch. To do that I have to revert my changes to that driver (several revisions back) before I can apply his patch.

What would be a convenient way to do that with git?
TIA, David
Next: Linus Torvalds
Message 1 of 8 in “Moving a file back to an earlier revision.”
  1. David HoMar 31, 2006
  2. Linus TorvaldsMar 31, 2006
  3. David HoMar 31, 2006
  4. David HoMar 31, 2006
  5. Junio C HamanoMar 31, 2006
  6. David HoMar 31, 2006
  7. Karl HasselströmApr 3, 2006
  8. Petr BaudisApr 1, 2006

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.