{"id":7712,"date":"2019-11-24T11:34:42","date_gmt":"2019-11-24T11:34:42","guid":{"rendered":"http:\/\/putridparrot.com\/blog\/?p=7712"},"modified":"2019-11-25T17:08:54","modified_gmt":"2019-11-25T17:08:54","slug":"svn-to-git-migration","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/svn-to-git-migration\/","title":{"rendered":"Svn to git migration"},"content":{"rendered":"<p>I&#8217;ve been moving some repositories from SVN to GIT, so for reference, here&#8217;s the basic steps&#8230;<\/p>\n<p><em>Note: These steps to not handle changing the author names etc. For a good explanation of this, checkout <a href=\"https:\/\/www.atlassian.com\/git\/tutorials\/migrating-overview\" rel=\"noopener noreferrer\" target=\"_blank\">Migrate to Git from SVN<\/a>.<\/em><\/p>\n<p>Step are, as follows (these steps also assume you&#8217;ve create a repository within GIT for you code to migrate to)<\/p>\n<ul>\n<li>git svn clone your_svn_repo <\/li>\n<li>cd into your newly created folder<\/li>\n<li>git remote add origin your_git_repo<\/li>\n<li>git push -u origin master<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been moving some repositories from SVN to GIT, so for reference, here&#8217;s the basic steps&#8230; Note: These steps to not handle changing the author names etc. For a good explanation of this, checkout Migrate to Git from SVN. Step are, as follows (these steps also assume you&#8217;ve create a repository within GIT for you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[206,192],"tags":[],"class_list":["post-7712","post","type-post","status-publish","format-standard","hentry","category-git-2","category-svn-2"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/7712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=7712"}],"version-history":[{"count":5,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/7712\/revisions"}],"predecessor-version":[{"id":7752,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/7712\/revisions\/7752"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=7712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=7712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=7712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}