Is there an advantage to using --no-metadata in git svn clone?

前端 未结 2 1987
小蘑菇
小蘑菇 2021-02-05 05:13

I\'m doing a one-way convert from an SVN repository to a Git repository using git svn clone. Most examples do this with the --no-metadata flag - is th

2条回答
  •  忘了有多久
    2021-02-05 06:02

    It is actually not recommended:

    This option is NOT recommended as it makes it difficult to track down old references to SVN revision numbers in existing documentation, bug reports and archives. If you plan to eventually migrate from SVN to git and are certain about dropping SVN history, consider git-filter-branch(1) instead. filter-branch also allows reformatting of metadata for ease-of-reading and rewriting authorship info for non-"svn.authorsFile" users.

提交回复
热议问题