From a1c68a438cfeb7ef1a3556faf9c88985cfd4c04f Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 17 Jan 2011 11:28:59 +0100 Subject: [PATCH] Add instructions how to check out a specific svn revision with git Signed-off-by: Janne Grunau --- doc/git-howto.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/git-howto.txt b/doc/git-howto.txt index 720f0d0008..56232acc16 100644 --- a/doc/git-howto.txt +++ b/doc/git-howto.txt @@ -239,6 +239,16 @@ I. BASICS: will show the svn changeset r23456. With older git versions searching in the git log output is the easiest option (especially if a pager with search capabilities is used). + This commit can be checked out with + + git checkout -b svn_23456 :/'as revision 23456' + + or for git < 1.7.1 with + + git checkout -b svn_23456 $SHA1 + + where $SHA1 is the commit SHA1 from the 'git log' output. + Contact the project admins if you have technical problems with the GIT server.