@@ -11,11 +11,11 @@ SYNOPSIS
1111
1212DESCRIPTION
1313-----------
14- 'git- svn' is a simple conduit for changesets between Subversion and git.
14+ 'git svn' is a simple conduit for changesets between Subversion and git.
1515It provides a bidirectional flow of changes between a Subversion and a git
1616repository.
1717
18- 'git- svn' can track a standard Subversion repository,
18+ 'git svn' can track a standard Subversion repository,
1919following the common "trunk/branches/tags" layout, with the --stdlayout option.
2020It can also follow branches and tags in any layout with the -T/-t/-b options
2121(see options to 'init' below, and also the 'clone' command).
@@ -30,7 +30,7 @@ COMMANDS
3030
3131'init'::
3232 Initializes an empty git repository with additional
33- metadata directories for 'git- svn'. The Subversion URL
33+ metadata directories for 'git svn'. The Subversion URL
3434 may be specified as a command-line argument, or as full
3535 URL arguments to -T/-t/-b. Optionally, the target
3636 directory to operate on can be specified as a second
@@ -100,7 +100,7 @@ COMMANDS
100100
101101--localtime;;
102102 Store Git commit times in the local timezone instead of UTC. This
103- makes 'git- log' (even without --date=local) show the same times
103+ makes 'git log' (even without --date=local) show the same times
104104 that `svn log` would in the local timezone.
105105
106106--parent;;
@@ -148,32 +148,32 @@ Examples:
148148 This fetches revisions from the SVN parent of the current HEAD
149149 and rebases the current (uncommitted to SVN) work against it.
150150
151- This works similarly to `svn update` or 'git- pull' except that
152- it preserves linear history with 'git- rebase' instead of
153- 'git- merge' for ease of dcommitting with 'git- svn'.
151+ This works similarly to `svn update` or 'git pull' except that
152+ it preserves linear history with 'git rebase' instead of
153+ 'git merge' for ease of dcommitting with 'git svn'.
154154
155- This accepts all options that 'git- svn fetch' and 'git- rebase'
155+ This accepts all options that 'git svn fetch' and 'git rebase'
156156accept. However, '--fetch-all' only fetches from the current
157157[svn-remote], and not all [svn-remote] definitions.
158158
159- Like 'git- rebase'; this requires that the working tree be clean
159+ Like 'git rebase'; this requires that the working tree be clean
160160and have no uncommitted changes.
161161
162162-l;;
163163--local;;
164- Do not fetch remotely; only run 'git- rebase' against the
164+ Do not fetch remotely; only run 'git rebase' against the
165165 last fetched commit from the upstream SVN.
166166
167167'dcommit'::
168168 Commit each diff from a specified head directly to the SVN
169169 repository, and then rebase or reset (depending on whether or
170170 not there is a diff between SVN and head). This will create
171171 a revision in SVN for each commit in git.
172- It is recommended that you run 'git- svn' fetch and rebase (not
172+ It is recommended that you run 'git svn' fetch and rebase (not
173173 pull or merge) your commits against the latest changes in the
174174 SVN repository.
175175 An optional revision or branch argument may be specified, and
176- causes 'git- svn' to do all work on that revision/branch
176+ causes 'git svn' to do all work on that revision/branch
177177 instead of HEAD.
178178 This is advantageous over 'set-tree' (below) because it produces
179179 cleaner, more linear history.
@@ -182,7 +182,7 @@ and have no uncommitted changes.
182182 After committing, do not rebase or reset.
183183--commit-url <URL>;;
184184 Commit to this SVN URL (the full path). This is intended to
185- allow existing git- svn repositories created with one transport
185+ allow existing ' git svn' repositories created with one transport
186186 method (e.g. `svn://` or `http://` for anonymous read) to be
187187 reused if a user is later given access to an alternate transport
188188 method (e.g. `svn+ssh://` or `https://`) for commit.
@@ -258,18 +258,18 @@ NOTE: SVN itself only stores times in UTC and nothing else. The regular svn
258258client converts the UTC time to the local time (or based on the TZ=
259259environment). This command has the same behaviour.
260260+
261- Any other arguments are passed directly to 'git- log'
261+ Any other arguments are passed directly to 'git log'
262262
263263'blame'::
264264 Show what revision and author last modified each line of a file. The
265265 output of this mode is format-compatible with the output of
266266 `svn blame' by default. Like the SVN blame command,
267267 local uncommitted changes in the working copy are ignored;
268268 the version of the file in the HEAD revision is annotated. Unknown
269- arguments are passed directly to 'git- blame'.
269+ arguments are passed directly to 'git blame'.
270270+
271271--git-format;;
272- Produce output in the same format as 'git- blame', but with
272+ Produce output in the same format as 'git blame', but with
273273 SVN revision numbers instead of git commit hashes. In this mode,
274274 changes that haven't been committed to SVN (including local
275275 working-copy edits) are shown as revision 0.
@@ -288,7 +288,7 @@ Any other arguments are passed directly to 'git-log'
288288 absolutely no attempts to do patching when committing to SVN, it
289289 simply overwrites files with those specified in the tree or
290290 commit. All merging is assumed to have taken place
291- independently of 'git- svn' functions.
291+ independently of 'git svn' functions.
292292
293293'create-ignore'::
294294 Recursively finds the svn:ignore property on directories and
@@ -303,12 +303,12 @@ Any other arguments are passed directly to 'git-log'
303303
304304'commit-diff'::
305305 Commits the diff of two tree-ish arguments from the
306- command-line. This command does not rely on being inside an `git- svn
306+ command-line. This command does not rely on being inside an `git svn
307307 init`-ed repository. This command takes three arguments, (a) the
308308 original tree to diff against, (b) the new tree result, (c) the
309309 URL of the target Subversion repository. The final argument
310- (URL) may be omitted if you are working from a 'git- svn'-aware
311- repository (that has been `init`-ed with 'git- svn').
310+ (URL) may be omitted if you are working from a 'git svn'-aware
311+ repository (that has been `init`-ed with 'git svn').
312312 The -r<revision> option is required for this.
313313
314314'info'::
@@ -342,7 +342,7 @@ Any other arguments are passed directly to 'git-log'
342342 way to repair the repo is to use 'reset'.
343343
344344Only the rev_map and refs/remotes/git-svn are changed. Follow 'reset'
345- with a 'fetch' and then 'git- reset' or 'git- rebase' to move local
345+ with a 'fetch' and then 'git reset' or 'git rebase' to move local
346346branches onto the new tree.
347347
348348-r/--revision=<n>;;
@@ -373,8 +373,8 @@ git svn fetch
373373 r2---r3---A---B master
374374------------
375375
376- Then fixup "master" with 'git- rebase'.
377- Do NOT use 'git- merge' or your history will not be compatible with a
376+ Then fixup "master" with 'git rebase'.
377+ Do NOT use 'git merge' or your history will not be compatible with a
378378future 'dcommit'!
379379
380380[verse]
@@ -396,7 +396,7 @@ OPTIONS
396396--shared[={false|true|umask|group|all|world|everybody}]::
397397--template=<template_directory>::
398398 Only used with the 'init' command.
399- These are passed directly to 'git- init'.
399+ These are passed directly to 'git init'.
400400
401401-r <ARG>::
402402--revision <ARG>::
@@ -418,7 +418,7 @@ Only used with the 'set-tree' command.
418418
419419Read a list of commits from stdin and commit them in reverse
420420order. Only the leading sha1 is read from each line, so
421- 'git- rev-list --pretty=oneline' output can be used.
421+ 'git rev-list --pretty=oneline' output can be used.
422422
423423--rmdir::
424424
@@ -448,7 +448,7 @@ config key: svn.edit
448448
449449Only used with the 'dcommit', 'set-tree' and 'commit-diff' commands.
450450
451- They are both passed directly to 'git- diff-tree'; see
451+ They are both passed directly to 'git diff-tree'; see
452452linkgit:git-diff-tree[1] for more information.
453453
454454[verse]
@@ -458,16 +458,16 @@ config key: svn.findcopiesharder
458458-A<filename>::
459459--authors-file=<filename>::
460460
461- Syntax is compatible with the file used by 'git- cvsimport':
461+ Syntax is compatible with the file used by 'git cvsimport':
462462
463463------------------------------------------------------------------------
464464 loginname = Joe User <user@example.com>
465465------------------------------------------------------------------------
466466
467- If this option is specified and 'git- svn' encounters an SVN
468- committer name that does not exist in the authors-file, 'git- svn'
467+ If this option is specified and 'git svn' encounters an SVN
468+ committer name that does not exist in the authors-file, 'git svn'
469469will abort operation. The user will then have to add the
470- appropriate entry. Re-running the previous 'git- svn' command
470+ appropriate entry. Re-running the previous 'git svn' command
471471after the authors-file is modified should continue operation.
472472
473473config key: svn.authorsfile
@@ -482,7 +482,7 @@ the authors file.
482482
483483-q::
484484--quiet::
485- Make 'git- svn' less verbose. Specify a second time to make it
485+ Make 'git svn' less verbose. Specify a second time to make it
486486 even less verbose.
487487
488488--repack[=<n>]::
@@ -495,7 +495,7 @@ with many revisions.
495495to fetch before repacking. This defaults to repacking every
4964961000 commits fetched if no argument is specified.
497497
498- --repack-flags are passed directly to 'git- repack'.
498+ --repack-flags are passed directly to 'git repack'.
499499
500500[verse]
501501config key: svn.repack
@@ -508,8 +508,8 @@ config key: svn.repackflags
508508
509509These are only used with the 'dcommit' and 'rebase' commands.
510510
511- Passed directly to 'git- rebase' when using 'dcommit' if a
512- 'git- reset' cannot be used (see 'dcommit').
511+ Passed directly to 'git rebase' when using 'dcommit' if a
512+ 'git reset' cannot be used (see 'dcommit').
513513
514514-n::
515515--dry-run::
@@ -566,18 +566,18 @@ svn-remote.<name>.noMetadata::
566566
567567This gets rid of the 'git-svn-id:' lines at the end of every commit.
568568
569- If you lose your .git/svn/git-svn/.rev_db file, 'git- svn' will not
569+ If you lose your .git/svn/git-svn/.rev_db file, 'git svn' will not
570570be able to rebuild it and you won't be able to fetch again,
571571either. This is fine for one-shot imports.
572572
573- The 'git- svn log' command will not work on repositories using
573+ The 'git svn log' command will not work on repositories using
574574this, either. Using this conflicts with the 'useSvmProps'
575575option for (hopefully) obvious reasons.
576576
577577svn.useSvmProps::
578578svn-remote.<name>.useSvmProps::
579579
580- This allows 'git- svn' to re-map repository URLs and UUIDs from
580+ This allows 'git svn' to re-map repository URLs and UUIDs from
581581mirrors created using SVN::Mirror (or svk) for metadata.
582582
583583If an SVN revision has a property, "svm:headrev", it is likely
@@ -596,7 +596,7 @@ svn-remote.<name>.useSvnsyncprops::
596596
597597svn-remote.<name>.rewriteRoot::
598598 This allows users to create repositories from alternate
599- URLs. For example, an administrator could run 'git- svn' on the
599+ URLs. For example, an administrator could run 'git svn' on the
600600 server locally (accessing via file://) but wish to distribute
601601 the repository with a public http:// or svn:// URL in the
602602 metadata so users of it will see the public URL.
@@ -605,14 +605,14 @@ svn.brokenSymlinkWorkaround::
605605This disables potentially expensive checks to workaround broken symlinks
606606checked into SVN by broken clients. Set this option to "false" if you
607607track a SVN repository with many empty blobs that are not symlinks.
608- This option may be changed while " git- svn" is running and take effect on
609- the next revision fetched. If unset, git- svn assumes this option to be
608+ This option may be changed while ' git svn' is running and take effect on
609+ the next revision fetched. If unset, ' git svn' assumes this option to be
610610"true".
611611
612612--
613613
614614Since the noMetadata, rewriteRoot, useSvnsyncProps and useSvmProps
615- options all affect the metadata generated and used by 'git- svn'; they
615+ options all affect the metadata generated and used by 'git svn'; they
616616*must* be set in the configuration file before any history is imported
617617and these settings should never be changed once they are set.
618618
@@ -630,7 +630,7 @@ Tracking and contributing to the trunk of a Subversion-managed project:
630630 git svn clone http://svn.example.com/project/trunk
631631# Enter the newly cloned directory:
632632 cd trunk
633- # You should be on master branch, double-check with git- branch
633+ # You should be on master branch, double-check with ' git branch'
634634 git branch
635635# Do some work and commit locally to git:
636636 git commit ...
@@ -661,12 +661,12 @@ Tracking and contributing to an entire Subversion-managed project
661661# of dcommit/rebase/show-ignore should be the same as above.
662662------------------------------------------------------------------------
663663
664- The initial 'git- svn clone' can be quite time-consuming
664+ The initial 'git svn clone' can be quite time-consuming
665665(especially for large Subversion repositories). If multiple
666666people (or one person with multiple machines) want to use
667- 'git- svn' to interact with the same Subversion repository, you can
668- do the initial 'git- svn clone' to a repository on a server and
669- have each person clone that repository with 'git- clone':
667+ 'git svn' to interact with the same Subversion repository, you can
668+ do the initial 'git svn clone' to a repository on a server and
669+ have each person clone that repository with 'git clone':
670670
671671------------------------------------------------------------------------
672672# Do the initial import on a server
@@ -680,7 +680,7 @@ have each person clone that repository with 'git-clone':
680680 git fetch
681681# Create a local branch from one of the branches just fetched
682682 git checkout -b master FETCH_HEAD
683- # Initialize git- svn locally (be sure to use the same URL and -T/-b/-t options as were used on server)
683+ # Initialize ' git svn' locally (be sure to use the same URL and -T/-b/-t options as were used on server)
684684 git svn init http://svn.example.com/project
685685# Pull the latest changes from Subversion
686686 git svn rebase
@@ -689,7 +689,7 @@ have each person clone that repository with 'git-clone':
689689REBASE VS. PULL/MERGE
690690---------------------
691691
692- Originally, 'git- svn' recommended that the 'remotes/git-svn' branch be
692+ Originally, 'git svn' recommended that the 'remotes/git-svn' branch be
693693pulled or merged from. This is because the author favored
694694`git svn set-tree B` to commit a single head rather than the
695695`git svn set-tree A..B` notation to commit multiple commits.
@@ -704,7 +704,7 @@ previous commits in SVN.
704704DESIGN PHILOSOPHY
705705-----------------
706706Merge tracking in Subversion is lacking and doing branched development
707- with Subversion can be cumbersome as a result. While 'git- svn' can track
707+ with Subversion can be cumbersome as a result. While 'git svn' can track
708708copy history (including branches and tags) for repositories adopting a
709709standard layout, it cannot yet represent merge history that happened
710710inside git back upstream to SVN users. Therefore it is advised that
@@ -715,25 +715,25 @@ CAVEATS
715715-------
716716
717717For the sake of simplicity and interoperating with a less-capable system
718- (SVN), it is recommended that all 'git- svn' users clone, fetch and dcommit
719- directly from the SVN server, and avoid all 'git- clone'/'pull'/'merge'/'push'
718+ (SVN), it is recommended that all 'git svn' users clone, fetch and dcommit
719+ directly from the SVN server, and avoid all 'git clone'/'pull'/'merge'/'push'
720720operations between git repositories and branches. The recommended
721721method of exchanging code between git branches and users is
722- 'git- format-patch' and 'git- am', or just 'dcommit'ing to the SVN repository.
722+ 'git format-patch' and 'git am', or just 'dcommit'ing to the SVN repository.
723723
724- Running 'git- merge' or 'git- pull' is NOT recommended on a branch you
724+ Running 'git merge' or 'git pull' is NOT recommended on a branch you
725725plan to 'dcommit' from. Subversion does not represent merges in any
726726reasonable or useful fashion; so users using Subversion cannot see any
727727merges you've made. Furthermore, if you merge or pull from a git branch
728728that is a mirror of an SVN branch, 'dcommit' may commit to the wrong
729729branch.
730730
731- 'git- clone' does not clone branches under the refs/remotes/ hierarchy or
732- any 'git- svn' metadata, or config. So repositories created and managed with
733- using 'git- svn' should use 'rsync' for cloning, if cloning is to be done
731+ 'git clone' does not clone branches under the refs/remotes/ hierarchy or
732+ any 'git svn' metadata, or config. So repositories created and managed with
733+ using 'git svn' should use 'rsync' for cloning, if cloning is to be done
734734at all.
735735
736- Since 'dcommit' uses rebase internally, any git branches you 'git- push' to
736+ Since 'dcommit' uses rebase internally, any git branches you 'git push' to
737737before 'dcommit' on will require forcing an overwrite of the existing ref
738738on the remote repository. This is generally considered bad practice,
739739see the linkgit:git-push[1] documentation for details.
@@ -743,7 +743,7 @@ already dcommitted. It is considered bad practice to --amend commits
743743you've already pushed to a remote repository for other users, and
744744dcommit with SVN is analogous to that.
745745
746- When using multiple --branches or --tags, 'git- svn' does not automatically
746+ When using multiple --branches or --tags, 'git svn' does not automatically
747747handle name collisions (for example, if two branches from different paths have
748748the same name, or if a branch and a tag have the same name). In these cases,
749749use 'init' to set up your git repository then, before your first 'fetch', edit
@@ -769,7 +769,7 @@ for git to detect them.
769769CONFIGURATION
770770-------------
771771
772- 'git- svn' stores [svn-remote] configuration information in the
772+ 'git svn' stores [svn-remote] configuration information in the
773773repository .git/config file. It is similar the core git
774774[remote] sections except 'fetch' keys do not accept glob
775775arguments; but they are instead handled by the 'branches'
@@ -790,7 +790,7 @@ Keep in mind that the '\*' (asterisk) wildcard of the local ref
790790however the remote wildcard may be anywhere as long as it's an
791791independent path component (surrounded by '/' or EOL). This
792792type of configuration is not automatically created by 'init' and
793- should be manually entered with a text-editor or using 'git- config'.
793+ should be manually entered with a text-editor or using 'git config'.
794794
795795SEE ALSO
796796--------
0 commit comments