{"id":804,"date":"2010-03-24T11:45:36","date_gmt":"2010-03-24T18:45:36","guid":{"rendered":"http:\/\/wp.colliertech.org\/cj\/?p=804"},"modified":"2010-03-24T11:49:59","modified_gmt":"2010-03-24T18:49:59","slug":"importing-darcs-into-a-git-branch","status":"publish","type":"post","link":"https:\/\/wp.c9h.org\/cj\/?p=804","title":{"rendered":"Importing darcs into a git branch"},"content":{"rendered":"<p>Maybe this will make it more google-able&#8230;<\/p>\n<p>Looks like you can export your darcs repo with <a href=\"http:\/\/vmiklos.hu\/project\/darcs-fast-export\/\">darcs-fast-export<\/a> and then import it with <a href=\"http:\/\/www.kernel.org\/pub\/software\/scm\/git\/docs\/git-fast-import.html\">git-fast-import<\/a><br \/>\n<\/p>\n<pre>\r\n18:15 &lt; wakko666&gt; I have kind of an odd question that google doesn't seem to \r\n                  know. I'm converting a darcs repo to a git repo. i've already \r\n                  got the tool to export the darcs side.   however, i'd like to \r\n                  import the commits into a branch of an existing repository.  \r\n                  is this possible?\r\n18:16 &lt; cj&gt; make a remote tracking branch referencing the exported darcs repo?\r\n18:17 &lt; wakko666&gt; cj: thanks for the clue. i'll try it.\r\n18:28 &lt; cj&gt; git remote add darcsthing git:\/\/moo\/darcsthing.git ; git checkout \r\n            -b darcsthing darcsthing\/master\r\n18:28 &lt; cj&gt; oh, there should probably be a git fetch darcsthing in there \r\n            somewhere\r\n18:31 &lt; wakko666&gt; cj: yup, that works. thanks for the help. :)\r\n18:31 &lt; cj&gt; yay.  glad I could help.\r\n\r\n<\/pre>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=cjamescollier\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Maybe this will make it more google-able&#8230; Looks like you can export your darcs repo with darcs-fast-export and then import it with git-fast-import 18:15 &lt; wakko666&gt; I have kind of an odd question that google doesn&#8217;t seem to know. I&#8217;m converting a darcs repo to a git repo. i&#8217;ve already got the tool to export [&hellip;]<\/p>\n","protected":false},"author":2,"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":""},"categories":[207,181],"tags":[],"class_list":["post-804","post","type-post","status-publish","format-standard","hentry","category-git","category-irc"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1YDIB-cY","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=804"}],"version-history":[{"count":9,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/804\/revisions"}],"predecessor-version":[{"id":813,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/804\/revisions\/813"}],"wp:attachment":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}