Add instructions how to check out a specific svn revision with git

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
This commit is contained in:
Janne Grunau 2011-01-17 11:28:59 +01:00
parent ffe9fd253f
commit a1c68a438c

View File

@ -239,6 +239,16 @@ I. BASICS:
will show the svn changeset r23456. With older git versions searching in 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 the git log output is the easiest option (especially if a pager with
search capabilities is used). 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 <root at ffmpeg dot org> if you have technical Contact the project admins <root at ffmpeg dot org> if you have technical
problems with the GIT server. problems with the GIT server.