Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
opu:repositories:svntogit [2017/11/26 03:39] – created vagabond | opu:repositories:svntogit [2021/01/05 07:51] (current) – blackbox222 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Transferring SVN Repositories to Git ====== | ====== Transferring SVN Repositories to Git ====== | ||
- | //Adapted from documentation by Hooman in the forums// | + | {{ opu: |
+ | |||
+ | //Adapted from documentation by leeor_net and Hooman in the Outpost Universe | ||
If you are looking to transfer a SVN repository entry that does not contain a trunk/ | If you are looking to transfer a SVN repository entry that does not contain a trunk/ | ||
Line 12: | Line 14: | ||
mkdir OP2MapImager | mkdir OP2MapImager | ||
cd OP2MapImager/ | cd OP2MapImager/ | ||
- | git svn init https:// | + | git svn init $removed_url_to_OP2MapImager |
git svn fetch | git svn fetch | ||
git filter-branch --tree-filter "rm -f OP2MapImager/ | git filter-branch --tree-filter "rm -f OP2MapImager/ |