{"id":5899,"date":"2020-07-16T13:56:50","date_gmt":"2020-07-16T11:56:50","guid":{"rendered":"https:\/\/myoceane.fr\/?p=5899"},"modified":"2020-07-16T16:51:52","modified_gmt":"2020-07-16T14:51:52","slug":"git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a","status":"publish","type":"post","link":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/","title":{"rendered":"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n<p style=\"text-align: justify;\">Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 <a href=\"https:\/\/github.com\/\">GitHub<\/a> \u6216\u662f <a href=\"https:\/\/bitbucket.org\/\">BitBucket<\/a>\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002<\/p>\n<h4>Server \u7aef\u64cd\u4f5c\uff1a<\/h4>\n<p>\u5728 CentOS\/RHEL7 \u4e0a\u5b89\u88dd\u7684\u8a71\uff0c\u57f7\u884c\u4ee5\u4e0b\u7684\u6307\u4ee4\uff1a<\/p>\n<pre class=\"lang:bash\">yum -y install git<\/pre>\n<p>\u65b0\u5efa\u7acb\u4e00\u500b user \u5e33\u865f\u5b58\u53d6 Git Server (\u975e\u5fc5\u8981\uff0c\u53ef\u4ee5\u4f7f\u7528\u539f\u672c\u5c31\u5df2\u7d93\u6709\u7684\u5e33\u865f\uff01)<\/p>\n<pre class=\"lang:bash\">useradd -m -d \/tmp\/git git\npasswd git<\/pre>\n<p>\u63a5\u4e0b\u4f86\u9078\u64c7\u8981\u5b89\u88dd Git Server \u7684\u4f4d\u7f6e\uff0c\u9019\u908a\u4ee5 \/tmp\/git \u70ba\u7bc4\u4f8b\uff1a<\/p>\n<pre class=\"lang:bash\">mkdir \/tmp\/git\ncd \/tmp\/git\ngit init --bare<\/pre>\n<p>\u5b89\u88dd\u5b8c\u4e4b\u5f8c\uff0c\u5728\u5b89\u88dd\u7684\u8cc7\u6599\u593e\u88e1\u9762\u53ef\u4ee5\u770b\u5230\u6709\u76f8\u5c0d\u61c9\u7684\u6a94\u6848\u7522\u751f<\/p>\n<pre class=\"lang:bash\">-rw-rw-r--  1 xxx xxx   66 Jul 15 16:54 config\n-rw-rw-r--  1 xxx xxx   73 Jul 15 16:54 description\n-rw-rw-r--  1 xxx xxx   23 Jul 15 16:54 HEAD\ndrwxrwxr-x  2 xxx xxx 4096 Jul 15 16:54 hooks\ndrwxrwxr-x  2 xxx xxx 4096 Jul 15 16:54 info\ndrwxrwxr-x 27 xxx xxx 4096 Jul 15 16:58 objects\ndrwxrwxr-x  4 xxx xxx 4096 Jul 15 16:54 refs<\/pre>\n<p>\u9019\u6a23 Git Server \u5c31\u7b97\u662f\u5efa\u7acb\u8d77\u4f86\u4e86\uff01<\/p>\n<h4>Client \u7aef\u7684\u64cd\u4f5c\uff1a<\/h4>\n<p>\u6b64\u6642\u5728 client \u7aef\u7684\u64cd\u4f5c\u8ddf\u4f7f\u7528 GitHub, BitBucket \u5f88\u50cf\u4e86\uff0c\u4e3b\u8981\u5c31\u662f\u5229\u7528 git clone \u7684\u6307\u4ee4\u53bb\u4e0b\u8f09 Git Repository \u88e1\u9762\u7684\u6a94\u6848\uff01<\/p>\n<pre class=\"lang:bash\">git clone git@server-domain:\/tmp\/git\/<\/pre>\n<p>\u70ba\u4e86\u65b9\u4fbf commit\uff0c\u53ef\u4ee5\u52a0\u5165\u4ee5\u4e0b\u8a2d\u5b9a<\/p>\n<pre class=\"lang:bash\">git config --local user.email \"test@localhost\"\ngit config --local user.name \"test\"<\/pre>\n<p>\u672c\u7bc7\u53c3\u8003\uff1a<a href=\"http:\/\/linux.onlinedoc.tw\/2016\/06\/centos7rhel7-git-server.html\">http:\/\/linux.onlinedoc.tw\/2016\/06\/centos7rhel7-git-server.html<\/a><br \/>\u5176\u4ed6\u6280\u8853\u6587\u7ae0\u53c3\u8003\uff1a<a href=\"https:\/\/myoceane.fr\/index.php\/git-%e4%bd%bf%e7%94%a8-fork-%e7%9a%84%e5%a5%bd%e8%99%95\/\">[Git] \u4f7f\u7528 fork \u7684\u597d\u8655<\/a><\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 GitHub \u6216\u662f BitBucket\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002<\/p>\n","protected":false},"author":1,"featured_media":3851,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,17],"tags":[189,802,803],"class_list":["post-5899","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it-technology","category-linux","tag-git","tag-private-server","tag-803"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane<\/title>\n<meta name=\"description\" content=\"Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 GitHub \u6216\u662f BitBucket\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myoceane.fr\/index.php\/git-\u5efa\u7acb-git-server-\u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"og:description\" content=\"Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 GitHub \u6216\u662f BitBucket\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myoceane.fr\/index.php\/git-\u5efa\u7acb-git-server-\u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\/\" \/>\n<meta property=\"og:site_name\" content=\"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-16T11:56:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-16T14:51:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1125\" \/>\n\t<meta property=\"og:image:height\" content=\"417\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u6ab8\u6aac\u7238\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6ab8\u6aac\u7238\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/\"},\"author\":{\"name\":\"\u6ab8\u6aac\u7238\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"headline\":\"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\",\"datePublished\":\"2020-07-16T11:56:50+00:00\",\"dateModified\":\"2020-07-16T14:51:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/\"},\"wordCount\":42,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png\",\"keywords\":[\"Git\",\"Private Server\",\"\u79c1\u4eba\u4f3a\u670d\u5668\"],\"articleSection\":[\"IT Technology\",\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/\",\"url\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/\",\"name\":\"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png\",\"datePublished\":\"2020-07-16T11:56:50+00:00\",\"dateModified\":\"2020-07-16T14:51:52+00:00\",\"description\":\"Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 GitHub \u6216\u662f BitBucket\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage\",\"url\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png\",\"contentUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png\",\"width\":1125,\"height\":417},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myoceane.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myoceane.fr\/#website\",\"url\":\"https:\/\/myoceane.fr\/\",\"name\":\"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a\",\"description\":\"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology\",\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myoceane.fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\",\"name\":\"\u6ab8\u6aac\u7238\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"caption\":\"\u6ab8\u6aac\u7238\"},\"logo\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","description":"Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 GitHub \u6216\u662f BitBucket\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/myoceane.fr\/index.php\/git-\u5efa\u7acb-git-server-\u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\/","og_locale":"en_US","og_type":"article","og_title":"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","og_description":"Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 GitHub \u6216\u662f BitBucket\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002","og_url":"https:\/\/myoceane.fr\/index.php\/git-\u5efa\u7acb-git-server-\u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\/","og_site_name":"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","article_published_time":"2020-07-16T11:56:50+00:00","article_modified_time":"2020-07-16T14:51:52+00:00","og_image":[{"width":1125,"height":417,"url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png","type":"image\/png"}],"author":"\u6ab8\u6aac\u7238","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u6ab8\u6aac\u7238","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#article","isPartOf":{"@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/"},"author":{"name":"\u6ab8\u6aac\u7238","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"headline":"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a","datePublished":"2020-07-16T11:56:50+00:00","dateModified":"2020-07-16T14:51:52+00:00","mainEntityOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/"},"wordCount":42,"commentCount":0,"publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png","keywords":["Git","Private Server","\u79c1\u4eba\u4f3a\u670d\u5668"],"articleSection":["IT Technology","Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/","url":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/","name":"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","isPartOf":{"@id":"https:\/\/myoceane.fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png","datePublished":"2020-07-16T11:56:50+00:00","dateModified":"2020-07-16T14:51:52+00:00","description":"Git \u7b97\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\u5fc5\u5099\u7684\u4e00\u9805\u6280\u80fd\uff0c\u76ee\u524d\u5927\u90e8\u5206\u7684\u958b\u767c\u4eba\u54e1\u6703\u4f7f\u7528\u5e02\u9762\u4e0a\u5df2\u6709\u7684 Git \u670d\u52d9\uff0c\u4f8b\u5982 GitHub \u6216\u662f BitBucket\uff0c\u4ed6\u5011\u5927\u90e8\u5206\u90fd\u662f\u514d\u8cbb\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u4e9b\u8a31\u529f\u80fd\u53d7\u9650\uff0c\u6216\u662f\u5982\u679c\u6709\u5b89\u5168\u6027\u7591\u616e\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u8003\u616e\u5c07\u81ea\u5df1\u7684\u667a\u6167\u8ca1\u7522\u653e\u5728\u81ea\u5efa\u7684 Git Repository \u88e1\u9762\uff0c\u672c\u7bc7\u4ecb\u7d39\u5982\u4f55\u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a\u3002","breadcrumb":{"@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#primaryimage","url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png","contentUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/04\/github.png","width":1125,"height":417},{"@type":"BreadcrumbList","@id":"https:\/\/myoceane.fr\/index.php\/git-%e5%bb%ba%e7%ab%8b-git-server-%e5%9c%a8%e7%a7%81%e4%ba%ba%e4%bc%ba%e6%9c%8d%e5%99%a8%e4%b8%8a\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myoceane.fr\/"},{"@type":"ListItem","position":2,"name":"[Git] \u5efa\u7acb Git Server \u5728\u79c1\u4eba\u4f3a\u670d\u5668\u4e0a"}]},{"@type":"WebSite","@id":"https:\/\/myoceane.fr\/#website","url":"https:\/\/myoceane.fr\/","name":"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a","description":"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology","publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myoceane.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b","name":"\u6ab8\u6aac\u7238","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","caption":"\u6ab8\u6aac\u7238"},"logo":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/"},"url":"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/"}]}},"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/5899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/comments?post=5899"}],"version-history":[{"count":19,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/5899\/revisions"}],"predecessor-version":[{"id":5919,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/5899\/revisions\/5919"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media\/3851"}],"wp:attachment":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media?parent=5899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/categories?post=5899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/tags?post=5899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}