{"id":2091,"date":"2014-06-24T23:09:42","date_gmt":"2014-06-24T21:09:42","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=2091"},"modified":"2014-06-25T12:28:14","modified_gmt":"2014-06-25T10:28:14","slug":"git-clone-a-project-over-a-http-proxy","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/git-clone-a-project-over-a-http-proxy\/","title":{"rendered":"Git: Clone a project over a http proxy"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_2091 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_2091')){$('.twoclick_social_bookmarks_post_2091').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Git%3A%20Clone%20a%20project%20over%20a%20http%20proxy\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Alike%20subversion%20it%20is%20also%20possible%20to%20anonymously%20checkout%20the%20latest%20version%20of%20a%20project%20over%20a%20http%20proxy%20server.%0D%0A%0D%0ADefine%20the%20proxy%20server%20%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/git-clone-a-project-over-a-http-proxy\\\/\",\"post_id\":2091,\"post_title_referrer_track\":\"Git%3A+Clone+a+project+over+a+http+proxy\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>like <a title=\"Subversion: Check out a project over http proxy server\" href=\"http:\/\/michlstechblog.info\/blog\/subversion-check-out-a-project-over-http-proxy-server\/\">subversion<\/a> it is also possible to anonymously checkout the latest version of a project over a http proxy server.<\/p>\n<p>Define the proxy server<br \/>\n<!--more--><br \/>\n<code>root@debdev:~# git config --global http.proxy http:\/\/192.168.233.13:8080<\/code><\/p>\n<p>and checkout the project by its http URL<\/p>\n<p><code><br \/>\nroot@debdev:~# git clone http:\/\/git.musicpd.org\/cgit\/master\/mpd.git\/<br \/>\nCloning into 'mpd'...<br \/>\n<\/code><\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, like subversion it is also possible to anonymously checkout the latest version of a project over a http proxy server. Define the proxy server<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[506,470,505,507],"class_list":["post-2091","post","type-post","status-publish","format-standard","hentry","category-miscellaneous","tag-checkout","tag-clone","tag-git","tag-http-proxy"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/2091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=2091"}],"version-history":[{"count":4,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/2091\/revisions"}],"predecessor-version":[{"id":2095,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/2091\/revisions\/2095"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=2091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=2091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=2091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}