{"id":48205,"date":"2015-02-20T12:00:26","date_gmt":"2015-02-20T03:00:26","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=48205"},"modified":"2017-03-23T13:59:54","modified_gmt":"2017-03-23T04:59:54","slug":"git-credential-osxkeychain","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/git-credential-osxkeychain\/","title":{"rendered":"git-credential-osxkeychain - Mac\u306egit\u3067http\u63a5\u7d9a\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5b89\u5168\u306b\u7ba1\u7406\u3059\u308b"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/06\/command-2.png\" alt=\"Command\" title=\"command.png\" border=\"0\" width=\"640\" height=\"554\" \/><\/p>\n<p>git\u3092\u4f7f\u3063\u3066\u3044\u3066\u9762\u5012\u304f\u3055\u3044\u3053\u3068\u306e\u4e00\u3064\u306b\u3001git pull \/ git push\u306a\u3069\u3001\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u306e\u3084\u308a\u3068\u308a\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u304c\u6bce\u56de\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u3052\u3089\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002Mac\u3067ssh\u63a5\u7d9a\u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3070\u3001\u81ea\u52d5\u7684\u306b\u30ad\u30fc\u30c1\u30a7\u30a4\u30f3\u306b\u683c\u7d0d\u3055\u308c\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u304f\u308c\u3066\u4fbf\u5229\u306a\u306e\u3067\u3059\u304c\u3001http\u63a5\u7d9a\u306e\u5834\u5408\u6bce\u56de\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3081\u3093\u3069\u304f\u3055\u3044\u2026\u3002<\/p>\n<p>\u4eca\u307e\u3067\u3053\u3046\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u5b9f\u306fhttp\u63a5\u7d9a\u3067\u3082\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3092\u7701\u7565\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u306b\u306f\u300c<a href=\"https:\/\/help.github.com\/articles\/updating-credentials-from-the-osx-keychain\/\">git-credential-osxkeychain<\/a>\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002\u305f\u3060\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u304c\u7701\u7565\u3067\u304d\u308b\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30ad\u30fc\u30c1\u30a7\u30a4\u30f3\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4fdd\u5b58\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u5b89\u5168\u3067\u3059\u3002<\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Mac\u74b0\u5883\u3067\u306f\u300c<code>brew install git<\/code>\u300d\u307e\u305f\u306f\u3001\u300c<code>port install git<\/code>\u300d\u3067git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001git-credential-osxkeychain\u304c\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><code>git config<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u81ea\u52d5\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>git config --global credential.helper osxkeychain\r\n<\/pre>\n<p>\u3059\u308b\u3068\u3001pull\u3084push\u306e\u6700\u521d\u306e1\u56de\u76ee\u3060\u3051\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308c\u3070\u3001\u4ee5\u964d\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3092\u7701\u7565\u3067\u304d\u307e\u3059\uff01\uff01<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4f8b\u3048\u3070GitHub\u30af\u30ed\u30fc\u30f3\u306e<a href=\"https:\/\/github.com\/takezoe\/gitbucket\">GitBucket<\/a>\u3092VPS\u7b49\u306b\u8a2d\u7f6e\u3057\u3066\u904b\u7528\u3059\u308b\u5834\u5408\u3001\u5225\u9014ssh\u30dd\u30fc\u30c8\u3092\u516c\u958b\u3059\u308b\u306e\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u671b\u307e\u3057\u304f\u306a\u3044\u305f\u3081\u3001http\u63a5\u7d9a\u306e\u307f\u3067\u4f7f\u3044\u305f\u3044\u5834\u5408\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3001http\u63a5\u7d9a\u3067\u3082\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3092\u7701\u7565\u3067\u304d\u308bgit-credential-osxkeychain\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u3051\u3070\u3001\u6bce\u56de\u306e\u4f5c\u696d\u52b9\u7387\u304c\u683c\u6bb5\u306b\u5411\u4e0a\u3059\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u300c<a href=\"http:\/\/qiita.com\/usamik26\/items\/c655abcaeee02ea59695\">git \u3092 https \u7d4c\u7531\u3067\u4f7f\u3046\u3068\u304d\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4fdd\u5b58\u3059\u308b<\/a>\u300d\u306b\u3088\u308b\u3068\u3001git-credential\u306b\u306f\u3001git-credential-store\u3001git-credential-cache\u3001git-credential-osxkeychain\u3001git-credential-winstore\u3001git-credential-gnomekering\u3068\u3044\u3046\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u4eca\u56de\u306f\u8abf\u3079\u3066\u3044\u307e\u305b\u3093\u304c\u3001Windows\u30e6\u30fc\u30b6\u30fc\u306e\u65b9\u3082\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3092\u7701\u7565\u3059\u308b\u65b9\u6cd5\u306f\u3042\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>git\u3092\u4f7f\u3063\u3066\u3044\u3066\u9762\u5012\u304f\u3055\u3044\u3053\u3068\u306e\u4e00\u3064\u306b\u3001git pull \/ git push\u306a\u3069\u3001\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u306e\u3084\u308a\u3068\u308a\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u304c\u6bce\u56de\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u3052\u3089\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002Mac\u3067ssh\u63a5\u7d9a\u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3070\u3001 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":48207,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[159,2915],"class_list":["post-48205","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-git","tag-http"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/48205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=48205"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/48205\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/48207"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=48205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=48205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=48205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}