aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Grunau <janne-ffmpeg@jannau.net>2011-01-17 11:28:59 +0100
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-01-17 11:33:43 +0100
commita1c68a438cfeb7ef1a3556faf9c88985cfd4c04f (patch)
tree12a3c3f210172294c9a61fd211deb9ffb9e5162c
parentffe9fd253f21db43ccc52a4043af94b7b9044f53 (diff)
downloadffmpeg-a1c68a438cfeb7ef1a3556faf9c88985cfd4c04f.tar.gz
Add instructions how to check out a specific svn revision with git
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
-rw-r--r--doc/git-howto.txt10
1 files changed, 10 insertions, 0 deletions
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 <root at ffmpeg dot org> if you have technical
problems with the GIT server.