opu:repositories:svntogit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
opu:repositories:svntogit [2017/11/26 03:39] – created vagabondopu: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:repositories:svntogit.png}} 
 + 
 +//Adapted from documentation by leeor_net and Hooman in the Outpost Universe forums//
  
 If you are looking to transfer a SVN repository entry that does not contain a trunk/tags/branches to Git: If you are looking to transfer a SVN repository entry that does not contain a trunk/tags/branches to Git:
Line 12: Line 14:
 mkdir OP2MapImager mkdir OP2MapImager
 cd OP2MapImager/ cd OP2MapImager/
-git svn init https://svn.outpostuniverse.org:8443/svn/outpost2/GameResources/OP2MapImager/+git svn init $removed_url_to_OP2MapImager
 git svn fetch git svn fetch
 git filter-branch --tree-filter "rm -f OP2MapImager/*.bmp" --prune-empty HEAD git filter-branch --tree-filter "rm -f OP2MapImager/*.bmp" --prune-empty HEAD
  • opu/repositories/svntogit.1511667581.txt.gz
  • Last modified: 2017/11/26 03:39
  • by vagabond