{"id":9315,"date":"2020-11-29T15:52:32","date_gmt":"2020-11-29T20:52:32","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=9315"},"modified":"2020-11-29T15:52:32","modified_gmt":"2020-11-29T20:52:32","slug":"cloning-a-repository","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=9315","title":{"rendered":"Cloning a Repository"},"content":{"rendered":"<p>My day has been consumed by yak shaving so today\u2019s offering is just a quickie pointing you to a very interesting post from \u00c1lvaro Ram\u00edrez. In a situation familiar to all of us, Ram\u00edrez noticed that every time he wanted to clone a repository, he had to go through the same set of simple but boring steps. Of course when you\u2019re using the world\u2019s most flexible editor that\u2019s a problem crying out for the obvious solution.<\/p>\n<p>Ram\u00edrez wanted a solution that would <a href=\"http:\/\/xenodium.com\/emacs-clone-git-repo-from-clipboard\/\">extract the repository URL from the clipboard and clone it into the proper directory<\/a>. That\u2019s pretty easy to do and he shows a nice bit of Elisp to take care of the task.<\/p>\n<p>This sort of thing happens to me all the time: I\u2019ll be doing some rote chore for the \\(n\\)<sup>th<\/sup> time and suddenly realize that there\u2019s no reason I should be doing this by hand yet again. It\u2019s usually pretty easy to write a little Elisp and reduce the task to a key press.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My day has been consumed by yak shaving so today\u2019s offering is just a quickie pointing you to a very interesting post from \u00c1lvaro Ram\u00edrez. In a situation familiar to all of us, Ram\u00edrez noticed that every time he wanted &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=9315\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-9315","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9315"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9315\/revisions"}],"predecessor-version":[{"id":9316,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9315\/revisions\/9316"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}