{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftrinityt.hatenablog.jp%2Fentry%2F20120911%2F1347367523\" title=\"SSH\u3067\u306egit\u30ea\u30dd\u30b8\u30c8\u30ea\u516c\u958b - TrinityT&#39;s BLOG\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2012-09-11 21:45:23","author_name":"TrinityT","image_url":null,"blog_url":"https://trinityt.hatenablog.jp/","blog_title":"TrinityT's BLOG","provider_name":"Hatena Blog","url":"https://trinityt.hatenablog.jp/entry/20120911/1347367523","description":"\u4f8b\u3048\u3070\u300c/home/hoge\u300d\u4ee5\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u6398\u3063\u3066\u3001ssh\u3067\u516c\u958b\u3059\u308b\u65b9\u6cd5\u30021. \u30d5\u30a9\u30eb\u30c0\u4f5c\u6210 mkdir -p /home/hoge/repos/project2. \u516c\u958b\u7528bare\u30ea\u30dd\u30b8\u30c8\u30ea\u4f5c\u6210 git clone --bare project project.git\u3053\u308c\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u4f5c\u6210\u5b8c\u4e86\u3002 ssh\u3067\u306eclone\u304c\u53ef\u80fd\u306b\u306a\u308b\u3002 \u203b\u4f8b\uff1a\u30ed\u30fc\u30ab\u30eb\u306bssh\u3067\u3064\u306a\u3044\u3067clone git clone ssh://localhost/home/hoge/repos/project/project.git \u203b\u4f8b\uff1a\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092clone git clone file:///home/ho\u2026","author_url":"https://blog.hatena.ne.jp/TrinityT/","provider_url":"https://hatena.blog","categories":["git"],"type":"rich","width":"100%","height":"190","version":"1.0","title":"SSH\u3067\u306egit\u30ea\u30dd\u30b8\u30c8\u30ea\u516c\u958b"}