Alex Rivera | Logout

Migrating from Subversion to Git how can I find a commit given a revision number?

Asked 2010-06-07T13:17:33.733
12

Migrating from Subversion to Git using svn2git (which internally uses git-svn) I'd like to know how I can find a specific revision commit.

It is quite common to have issues tracker to have comments like: "Fixed in r12345".

Given this, I'd like to be able, for example, to extract the diff corresponding to r12345.

Thanks in advance.

Regards

Edit
Report

1 Answer

-3

With Git it’s similar:

Fixed in d8602bb9729ddb2f28e61028cc5981cb310231a2.

Get the diff with:

git show d8602bb9729ddb2f28e61028cc5981cb310231a2
answered 2010-06-07T13:21:59.913

Your Answer