{"id":999,"date":"2012-10-30T21:55:16","date_gmt":"2012-10-31T05:55:16","guid":{"rendered":"http:\/\/www.wiredatom.com\/blog\/?p=999"},"modified":"2013-01-14T01:56:58","modified_gmt":"2013-01-14T09:56:58","slug":"export-svn-repositories-to-git-on-mac-osx","status":"publish","type":"post","link":"https:\/\/www.wiredatom.com\/blog\/2012\/10\/30\/export-svn-repositories-to-git-on-mac-osx\/","title":{"rendered":"Export SVN Repositories to Git on Mac OSX"},"content":{"rendered":"<p>Once you go git, you can never go back.<\/p>\n<p>1.  First, make a directory into which you want the newly minted git repo to live<br \/>\n2.  <code class=\"codecolorer text default\"><span class=\"text\">cd<\/span><\/code> into that directory<br \/>\n3.  Then execute the following:<\/p>\n<div class=\"codecolorer-container bash railscasts\" style=\"overflow:auto;white-space:nowrap;width:680px;\"><div class=\"bash codecolorer\"><span class=\"kw2\">git<\/span> <span class=\"kw2\">svn<\/span> clone file:<span class=\"sy0\">\/\/<\/span>localhost<span class=\"sy0\">\/<\/span>Users<span class=\"sy0\">\/<\/span>your-user-name<span class=\"sy0\">\/<\/span>location<span class=\"sy0\">\/<\/span>of<span class=\"sy0\">\/<\/span>svn<span class=\"sy0\">\/<\/span>repo<\/div><\/div>\n<p>And that&#8217;s it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once you go git, you can never go back. 1. First, make a directory into which you want the newly minted git repo to live 2. cd into that directory 3. Then execute the following: git svn clone file:\/\/localhost\/Users\/your-user-name\/location\/of\/svn\/repo And that&#8217;s it!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10,3,4],"tags":[],"class_list":["post-999","post","type-post","status-publish","format-standard","hentry","category-geek-stuff","category-mac-osx","category-tips-tricks"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p54IqZ-g7","_links":{"self":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/comments?post=999"}],"version-history":[{"count":1,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1003,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions\/1003"}],"wp:attachment":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/media?parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/categories?post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/tags?post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}