Skip to content

Instantly share code, notes, and snippets.

@hannahherbig
Created August 2, 2010 05:08
Show Gist options
  • Save hannahherbig/504133 to your computer and use it in GitHub Desktop.
Save hannahherbig/504133 to your computer and use it in GitHub Desktop.
diff --git a/svn2git/README.markdown b/svn2git/README.markdown
index c4bffa9..d646c13 100644
--- a/svn2git/README.markdown
+++ b/svn2git/README.markdown
@@ -81,30 +81,30 @@ svn repo. The differentiating factor is the svn repo layout. Below is an
enumerated listing of the varying supported layouts and the proper way to
create a git repo from a svn repo in the specified layout.
-1. The svn repo is in the standard layout of (trunk, branches, tags) at the
-root level of the repo.
-
+1. The svn repo is in the standard layout of (trunk, branches, tags) at the
+ root level of the repo.
+
$ svn2git http://svn.example.com/path/to/repo
-2. The svn repo is NOT in standard layout and has only a trunk and tags at the
-root level of the repo.
-
+2. The svn repo is NOT in standard layout and has only a trunk and tags at the
+ root level of the repo.
+
$ svn2git http://svn.example.com/path/to/repo --trunk dev --tags rel --nobranches
-3. The svn repo is NOT in standard layout and has only a trunk at the root
-level of the repo.
-
+3. The svn repo is NOT in standard layout and has only a trunk at the root
+ level of the repo.
+
$ svn2git http://svn.example.com/path/to/repo --trunk trunk --nobranches --notags
-4. The svn repo is NOT in standard layout and has no trunk, branches, or tags
-at the root level of the repo. Instead the root level of the repo is
-equivalent to the trunk and there are no tags or branches.
-
+4. The svn repo is NOT in standard layout and has no trunk, branches, or tags
+ at the root level of the repo. Instead the root level of the repo is
+ equivalent to the trunk and there are no tags or branches.
+
$ svn2git http://svn.example.com/path/to/repo --rootistrunk
-
-5. The svn repo is in the standard layout but you want to exclude the massive
-doc directory and the backup files you once accidently added.
-
+
+5. The svn repo is in the standard layout but you want to exclude the massive
+ doc directory and the backup files you once accidentally added.
+
$ svn2git http://svn.example.com/path/to/repo --exclude doc --exclude '.*~$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment