{"author_url":"https://blog.hatena.ne.jp/rocklaakira/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkimoi.hatenadiary.com%2Fentry%2F20121001%2F1349071472\" title=\"VPS\u4e0a\u306bgit\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u4f5c\u6210 - \u304d\u3082\u3044\u4ea4\u63db\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"VPS\u4e0a\u306bgit\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u4f5c\u6210","image_url":null,"type":"rich","author_name":"rocklaakira","categories":["sh"],"blog_url":"https://kimoi.hatenadiary.com/","height":"190","description":"## remote\u5074 su # -> root\u306b adduser git passwd git # -> \u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a su git cd ~/ mkdir hoge.git cd hoge.git git --bare init ## local\u5074 cd ~/dev/hoge git init touch README.txt git commit -m 'first commit' -a git remote add origin ssh://git@IP\u30a2\u30c9\u30ec\u30b9:\u30dd\u30fc\u30c8\u756a\u53f7/home/git/repos/hoge.git git push origin master git \u4ee5\u5916\u306e\u30e6\u30fc\u2026","version":"1.0","blog_title":"\u304d\u3082\u3044\u4ea4\u63db\u65e5\u8a18","url":"https://kimoi.hatenadiary.com/entry/20121001/1349071472","published":"2012-10-01 15:04:32","provider_url":"https://hatena.blog","width":"100%"}