[FFmpeg-cvslog] commit: Add instructions how to check out a specific svn revision with git (Janne Grunau )

git at videolan.org git
Mon Jan 17 11:33:26 CET 2011


ffmpeg | branch: master | Janne Grunau <janne-ffmpeg at jannau.net> | Mon Jan 17 11:28:59 2011 +0100| [a1c68a438cfeb7ef1a3556faf9c88985cfd4c04f] | committer: Janne Grunau 

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

Signed-off-by: Janne Grunau <janne-ffmpeg at jannau.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a1c68a438cfeb7ef1a3556faf9c88985cfd4c04f
---

 doc/git-howto.txt |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/doc/git-howto.txt b/doc/git-howto.txt
index 720f0d0..56232ac 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.




More information about the ffmpeg-cvslog mailing list