{"id":557,"date":"2013-03-11T10:08:51","date_gmt":"2013-03-11T01:08:51","guid":{"rendered":"http:\/\/43.203.250.216\/?p=557"},"modified":"2026-09-20T13:10:34","modified_gmt":"2026-09-20T04:10:34","slug":"bare-git%ec%9c%bc%eb%a1%9c-%eb%b6%80%ed%84%b0-source-code-%eb%b3%b5%ec%82%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/litcoder.com\/?p=557","title":{"rendered":"Bare git\uc73c\ub85c \ubd80\ud130 source code \ubcf5\uc0ac\ud558\uae30"},"content":{"rendered":"<blockquote><p>Android\uc5d0 \uae30\ubc18\ud55c project\ub97c repo\ub85c mirror\ub85c \ub9cc\ub4e4\ub54c\ub294 &#8211;mirror option\uc744 \uc8fc\uc5b4\uc11c bare git\uc744 \ub9cc\ub4e0\ub2e4(<a title=\"Repo mirroring\" href=\"https:\/\/litcoder.com\/?p=33\">\uc9c0\ub09c posting \ucc38\uc870<\/a>). \ub9cc\uc57d \uc774\ub807\uac8c \ub9cc\ub4e4\uc5b4\uc9c4 bare repository\ub85c \ubd80\ud130 \uc77c\ubc18\uc801\uc778 \ud615\ud0dc\uc758 source repository\ub97c \uc0dd\uc131\ud558\ub824 \ud55c\ub2e4\uba74 \uc5b4\ub5bb\uac8c \ud574\uc57c \ud560\uae4c? \uc774 posting\uc5d0\uc11c\ub294 git-daemon\ub4f1\uc744 \uc124\uce58 \ud558\uc9c0 \uc54a\uace0 local\uc5d0 \uc788\ub294 bare git\uc73c\ub85c \ubd80\ud130 source \uad6c\uc870\ub97c \ub9cc\ub4e4\uc5b4 \ub0b4\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud55c\ub2e4.<\/p><\/blockquote>\n<h2>Repo Init<\/h2>\n<pre class=\"lang:default highlight:0 decode:true\">$ repo init help\nUsage: repo init -u url [options]<\/pre>\n<p>repo init \uba85\ub839\uc744 \uc218\ud589\ud560 \ub54c -u \ub4a4\uc5d0 url\uc744 \uc801\uc5b4\uc900\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \uc774 \ubd80\ubd84\uc5d0 &#8216;git:\/\/&#8217;\uc774\ub098 &#8216;ssh:\/\/&#8217; protocol\ub85c \uc2dc\uc791\ud558\ub294 \uc8fc\uc18c\ub97c \uc801\uc9c0\ub9cc \uc6b0\ub9ac\uac00 \ud558\ub824\ub294 \uac83\uc740 file \ubcf5\uc0ac \uc774\ubbc0\ub85c &#8216;file:\/\/&#8217;\uc744 \uc801\uc5b4\uc11c repo init\uc744 \uc218\ud589\ud55c\ub2e4.<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">$ repo init -u file:\/\/PATH_TO_MIRROR -b BRANCH -m MANIFEST_XML<\/pre>\n<p>\ub180\ub78d\uac8c\ub3c4(!) init\uc774 \uc218\ud589\ub418\uba74\uc11c .repo directory\uac00 \uc0dd\uc131\ub41c\ub2e4.<\/p>\n<h2>Fetch Address \uc218\uc815<\/h2>\n<p>.repo\/manifests\uc5d0\uc11c fetch address\ub97c \uac00\uc9c0\uace0 \uc788\ub294 xml file\uc744 \ucc3e\uc544\uc11c \uc811\uadfc address\ub97c file\uacbd\ub85c\ub85c \uc218\uc815\ud55c\ub2e4.<\/p>\n<pre class=\"lang:default decode:true\">  &lt;!-- \n  &lt;remote name=\"REMOTE_NAME\" fetch=\"ssh:\/\/SERVER_IP\" review=\"REVIEW_ADDRESS:8080\"\/&gt; \n  --&gt;\n  &lt;remote name=\"REMOTE_NAME\" fetch=\"file:\/\/&lt;path_to_mirror&gt;\/\" review=\"REVIEW_ADDRESS:8080\"\/&gt;<\/pre>\n<p>init\uc774 \uc644\ub8cc \ub418\uace0 \ub09c \ud6c4\uc5d0\ub294 \uc77c\ubc18\uc801\uc778 \uac83\uacfc \uac19\uc774 repo sync \uba85\ub839\uc5b4\ub97c \uc218\ud589\ud558\uba74 \ub41c\ub2e4. file:\/\/\ub85c \uc218\uc815\ud55c xml file\ub4e4\uc744 \uc6d0\ub798 \uc0c1\ud0dc\ub85c \ub418\ub3cc\ub9ac\ub294 \uac74 \ub2e4\ub4e4 \uc544\uc2e4\ud14c\uace0 &#8230; \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android\uc5d0 \uae30\ubc18\ud55c project\ub97c repo\ub85c mirror\ub85c \ub9cc\ub4e4\ub54c\ub294 &#8211;mirror option\uc744 \uc8fc\uc5b4\uc11c bare git\uc744 \ub9cc\ub4e0\ub2e4(\uc9c0\ub09c posting \ucc38\uc870). \ub9cc\uc57d \uc774\ub807\uac8c \ub9cc\ub4e4\uc5b4\uc9c4 bare repository\ub85c \ubd80\ud130 \uc77c\ubc18\uc801\uc778 \ud615\ud0dc\uc758 source repository\ub97c \uc0dd\uc131\ud558\ub824 \ud55c\ub2e4\uba74 \uc5b4\ub5bb\uac8c \ud574\uc57c \ud560\uae4c? \uc774 posting\uc5d0\uc11c\ub294 git-daemon\ub4f1\uc744 \uc124\uce58 \ud558\uc9c0 \uc54a\uace0 local\uc5d0 \uc788\ub294 bare git\uc73c\ub85c \ubd80\ud130 source \uad6c\uc870\ub97c \ub9cc\ub4e4\uc5b4 \ub0b4\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud55c\ub2e4. Repo Init $ repo init help Usage: repo init [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[6],"tags":[11,19,80,108,125],"class_list":["post-557","post","type-post","status-publish","format-standard","hentry","category-tools","tag-android","tag-bare-git","tag-mirror","tag-repo","tag-tip"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":33,"url":"https:\/\/litcoder.com\/?p=33","url_meta":{"origin":557,"position":0},"title":"Repo mirroring","author":"litcoder","date":"2012\ub144 5\uc6d4 26\uc77c","format":false,"excerpt":"\ud55c\uad6d\uacfc \ubbf8\uad6d \ucc98\ub7fc \uac70\ub9ac\uc0c1\uc73c\ub85c \uba40\ub9ac \ub5a8\uc5b4\uc838 \uc788\ub294 \uacbd\uc6b0, \ud55c\ucabd\uc5d0\uc11c source\ub97c sync\ud558\uae30 \uc704\ud574\uc11c\ub294 \uc2dc\uac04\uc774 \ub108\ubb34 \ub9ce\uc774 \uac78\ub9b0\ub2e4. Mirror\ub97c \uc124\uc815\ud558\uace0 \uc8fc\uae30\uc801\uc73c\ub85c source\ub97c sync \ud574 \uc624\ub3c4\ub85d \ud558\uba74 \uc2dc\uac04\uacfc load\ub97c \uc904\uc77c \uc218 \uc788\ub2e4. \ub2e4\uc74c\uc740 Ubuntu 10.04 LTS \uae30\uc900\uc73c\ub85c\ud55c repo mirror server \uc124\uc815\ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud55c\ub2e4. 1. Git daemon \uc124\uc815 : xinetd\ub97c \uc124\uce58\ud558\uace0 git-daemon\uc744 \uc124\uc815\ud55c\ub2e4. $>\u2026","rel":"","context":"&quot;Tools &amp; Tips&quot;\uc5d0\uc11c","block_context":{"text":"Tools &amp; Tips","link":"https:\/\/litcoder.com\/?cat=6"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3322,"url":"https:\/\/litcoder.com\/?p=3322","url_meta":{"origin":557,"position":1},"title":"GitHub release\uc5d0 \ubc14\uc774\ub108\ub9ac \ucca8\ubd80 \uc790\ub3d9\ud654","author":"litcoder","date":"2024\ub144 1\uc6d4 1\uc77c","format":false,"excerpt":"GitHub\uc5d0\uc11c release\ub97c \uc0dd\uc131\ud558\uba74 source code\uc758 snapshot\uc774 zip\uacfc tar.gz\ub85c \uc800\uc7a5\ub41c\ub2e4. \uc5ec\uae30\uc5d0 \ucd94\uac00\ud574\uc11c \ucef4\ud30c\uc77c\ub41c \uacb0\uacfc\uac00 \uc790\ub3d9\uc73c\ub85c \ucd94\uac00\ud558\ub3c4\ub85d \ud55c\ub2e4\uba74, \uac04\ub2e8\ud788 source code\uc640 \uc5f0\uacc4\ub41c \ubc14\uc774\ub108\ub9ac\ub3c4 \ud568\uaed8 \ubc30\ud3ec\ud560 \uc218 \uc788\uc744 \uac83\uc774\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc548\ub4dc\ub85c\uc774\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uac00\uc815\ud574\uc11c release\ub97c \uc0dd\uc131\ud560 \ub54c \uc548\ub4dc\ub85c\uc774\ub4dc APK\ub97c \ube4c\ub4dc\ud558\uace0 source code\uc640 \ud568\uaed8 \ubc30\ud3ec\ud558\ub294 \uac04\ub2e8\ud55c workflow\ub97c \uc124\uba85\ud55c\ub2e4. \uc804\uccb4 \ucf54\ub4dc Event trigger on: release:\u2026","rel":"","context":"&quot;Android&quot;\uc5d0\uc11c","block_context":{"text":"Android","link":"https:\/\/litcoder.com\/?cat=2"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2024\/01\/github_workflow_release_attached-e1704114929383.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2024\/01\/github_workflow_release_attached-e1704114929383.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2024\/01\/github_workflow_release_attached-e1704114929383.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2024\/01\/github_workflow_release_attached-e1704114929383.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1336,"url":"https:\/\/litcoder.com\/?p=1336","url_meta":{"origin":557,"position":2},"title":"MinnowboardMAX\uc5d0 Chromium OS \uc62c\ub824 \ubcf8 \ub0b4\uc6a9 \uc815\ub9ac","author":"litcoder","date":"2015\ub144 9\uc6d4 21\uc77c","format":false,"excerpt":"Building Chromium \u00a0OS Linux 12.04 LTS sudo aptitude install git-core gitk git-gui subversion curl Install depot_tools Depot_tools\ub97c clone\ud558\uace0 \uadf8 \uacbd\ub85c\ub97c PATH\uc5d0 \ucd94\uac00\ud574 \uc900\ub2e4. git clone https:\/\/chromium.googlesource.com\/chromium\/tools\/depot_tools.git export PATH=`pwd`\/depot_tools:\"$PATH\" Download source code repo init -u https:\/\/chromium.googlesource.com\/chromiumos\/manifest.git repo sync Run build export BOARD=amd64-generic cd $CHROM_PATH\/src\/scripts\/ cros_sdk -- .\/build_packages --board=${BOARD} cros_sdk -- .\/build_image\u2026","rel":"","context":"&quot;Programming&quot;\uc5d0\uc11c","block_context":{"text":"Programming","link":"https:\/\/litcoder.com\/?cat=5"},"img":{"alt_text":"SC_chromiumOS_flahsing","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2015\/09\/SC_chromiumOS_flahsing.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2015\/09\/SC_chromiumOS_flahsing.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2015\/09\/SC_chromiumOS_flahsing.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2015\/09\/SC_chromiumOS_flahsing.png?resize=700%2C400 2x"},"classes":[]},{"id":908,"url":"https:\/\/litcoder.com\/?p=908","url_meta":{"origin":557,"position":3},"title":"Repo\uc640 OpenGrok update\ub97c \uc704\ud55c cron\uc6a9 script","author":"litcoder","date":"2013\ub144 11\uc6d4 19\uc77c","format":false,"excerpt":"OpenGrok\uc740 \uc5ec\ub7ec\uba74\uc5d0\uc11c \uc88b\uc740 \uc810\uc774 \ub9ce\uc740 \ub3c4\uad6c\uc774\uc9c0\ub9cc source code\uac00 \ubcc0\uacbd\ub420 \ub54c\ub9c8\ub2e4 \uc624\ub79c\uc2dc\uac04\uc774 \uac78\ub9ac\ub294 indexing\uc744 \ud574\uc57c \ud55c\ub2e4\ub294 \uc810\uc740 \ubd88\ud3b8 \ud55c \uc810 \uc911 \ud558\ub098\uc774\ub2e4. \uc5ec\uae30\uc11c\ub294 cron\uc73c\ub85c \ub3cc\ub9b4 \uc218 \uc788\ub294 \uac04\ub2e8\ud55c shell script\ub97c \uc0ac\uc6a9\ud574\uc11c \ud55c\uac00\ud55c \uc2dc\uac04\uc5d0 source\uac00 \ucd5c\uc2e0\uc73c\ub85c \uc720\uc9c0\ub420 \uc218 \uc788\ub3c4\ub85d \ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud55c\ub2e4. Cron runnable update script Cron\uc73c\ub85c \ub3d9\uc791\uc2dc\ud0a4\ub294 script\ub97c \uc791\uc131\ud560 \ub54c \uac00\uc7a5\u2026","rel":"","context":"&quot;Programming&quot;\uc5d0\uc11c","block_context":{"text":"Programming","link":"https:\/\/litcoder.com\/?cat=5"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1456,"url":"https:\/\/litcoder.com\/?p=1456","url_meta":{"origin":557,"position":4},"title":"MinnowboardMAX\uc5d0 Yocto \uc62c\ub824\ubcf8 \ub0b4\uc6a9 \uc815\ub9ac","author":"litcoder","date":"2016\ub144 2\uc6d4 8\uc77c","format":false,"excerpt":"Yocto\ub294 embedded \ud658\uacbd\uc5d0 Linux\ub97c \ud3b8\ub9ac\ud558\uac8c \uc801\uc6a9\ud558\uae30\uc704\ud55c \ubaa9\uc801\uc758 \ud504\ub85c\uc81d\ud2b8\ub85c \ubcf4\ub2e4 \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 project home page\uc778 https:\/\/www.yoctoproject.org\uc5d0\uc11c \ud655\uc778\ud560 \uc218 \uc788\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Intel Baytrail\uc744 \uc0ac\uc6a9\ud558\ub294 MinnowboardMAX\uc5d0 \u00a0Yocto linux\ub97c \uc62c\ub9ac\ub294 \uacfc\uc815\uc744 \uc124\uba85\ud55c\ub2e4. \ud658\uacbd\uc124\uc815 Ubuntu 14.04 (64bit) sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm 64bit firmware\uac00\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1337,"url":"https:\/\/litcoder.com\/?p=1337","url_meta":{"origin":557,"position":5},"title":"MinnowboardMAX\uc5d0 Android \uc62c\ub824 \ubcf8 \ub0b4\uc6a9 \uc815\ub9ac","author":"litcoder","date":"2015\ub144 9\uc6d4 19\uc77c","format":false,"excerpt":"Android \/ Chromium OS \/ Windows\ub97c \uc62c\ub824 \ubcfc \uc218 \uc788\ub294 Intel Baytrail \uae30\ubc18\uc758 \uac1c\ubc1c\ubcf4\ub4dc\uc778 MinnowboardMAX\uc5d0 Android 5.1\uc744 install\ud558\ub294 \uacfc\uc815\uc744 \uc124\uba85\ud55c\ub2e4. \ud544\uc694\ud55c \uac83 \ub4e4 Minnowboard MAX - \ud310\ub9e4\ud558\ub294 \uacf3, 2015\ub144 9\uc6d4 \ud604\uc7ac \uad6d\ub0b4\uc5d0\uc11c \ud310\ub9e4\ud558\ub294 \uacf3\uc740 \uc5c6\ub294\uac83 \uac19\ub2e4. FTDI cable - Serial \ucd9c\ub825\uc744 PC\uc5d0\uc11c \ubc1b\uae30 \uc704\ud574 guide \ubb38\uc11c\uc5d0\ub294 TTL-232R\uc744 \uc0ac\uc6a9\ud558\ub77c\uace0 \u00a0\ub098\uc640 \uc788\ub294\ub370\u2026","rel":"","context":"&quot;Android&quot;\uc5d0\uc11c","block_context":{"text":"Android","link":"https:\/\/litcoder.com\/?cat=2"},"img":{"alt_text":"minnowboardMAX_connection","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2015\/09\/minnowboardMAX_connection.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=557"}],"version-history":[{"count":2,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/557\/revisions"}],"predecessor-version":[{"id":3642,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/557\/revisions\/3642"}],"wp:attachment":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}