Re: Moving a file back to an earlier revision.
- From
David Ho <davidkwho@gmail.com>
- Date
- Mar 31, 2006, 21:32 UTC
- Message-ID
- <4dd15d180603311332p60fa1867nc303bd92d515b4e0@mail.gmail.com>
- In-Reply-To
- <4dd15d180603311313t7781f2ebk616276e9134f6472@mail.gmail.com>
Sorry I might already have found it.
File revisions
+----+----+ 1 2 3
git diff commit(3)..commit(1) filename | git-apply
David
On 3/31/06, David Ho <davidkwho@gmail.com> wrote:
Show 14 quoted lines
> 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 >