{"id":8276,"date":"2020-01-23T10:00:01","date_gmt":"2020-01-23T01:00:01","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=8276"},"modified":"2020-01-22T15:04:13","modified_gmt":"2020-01-22T06:04:13","slug":"github%e3%81%ab%e3%82%b3%e3%83%9f%e3%83%83%e3%83%88%e8%80%85%e6%83%85%e5%a0%b1%e3%82%92%e8%aa%a4%e3%81%a3%e3%81%a6%e3%82%b3%e3%83%9f%e3%83%83%e3%83%88-%e3%83%97%e3%83%83%e3%82%b7%e3%83%a5%e3%81%97","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/8276","title":{"rendered":"Github\u306b\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u3092\u8aa4\u3063\u3066\u30b3\u30df\u30c3\u30c8\/\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u4eca\u56de\u306f\u3001Github\u306b\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u3092\u8aa4\u3063\u3066\u30b3\u30df\u30c3\u30c8\/\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h3>\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u306e\u4fee\u6b63\u65b9\u6cd5<\/h3>\n\n\n\n<p>Git Bash\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u6642\u4fdd\u7ba1\u7528\u306e\u9069\u5f53\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f5c\u6210\u3092\u304a\u3053\u306a\u3044\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8a72\u5f53\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30d9\u30a2\u30af\u30ed\u30fc\u30f3\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>git clone &#8211;bare https:\/\/github.com\/(github\u30e6\u30fc\u30b6\u30fc\u540d)\/(\u30ea\u30dd\u30b8\u30c8\u30ea\u540d).git<\/p>\n\n\n\n<p>\u30af\u30ed\u30fc\u30f3\u3057\u305f\u30ed\u30fc\u30ab\u30eb\u306e\u30d9\u30a2\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>cd (\u30ea\u30dd\u30b8\u30c8\u30ea\u540d).git<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u73fe\u72b6\u306e\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u306e\u78ba\u8a8d\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>git log &#8211;pretty=full<\/p>\n\n\n\n<p>\u3082\u3057\u4e0d\u5099\u304c\u3042\u308c\u3070\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\n\uff08\u4ee5\u4e0b\u306f\u3059\u3079\u3066\u306e\u30b3\u30df\u30c3\u30c8\u60c5\u5831\u3092\u4e00\u62ec\u3067\u4fee\u6b63\u3092\u304a\u3053\u306a\u3046\u5834\u5408\u306e\u4f8b\u3067\u3059\uff09<\/p>\n\n\n\n<p>git filter-branch -f &#8211;env-filter &#8220;GIT_AUTHOR_NAME='(\u6b63\u3057\u3044\u4f5c\u8005\u540d)&#8217;; <\/p>\n\n\n\n<p>GIT_AUTHOR_EMAIL='(\u6b63\u3057\u3044\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9)&#8217;; <\/p>\n\n\n\n<p>GIT_COMMITTER_NAME='(\u6b63\u3057\u3044\u30b3\u30df\u30c3\u30c8\u8005)&#8217;; <\/p>\n\n\n\n<p>GIT_COMMITTER_EMAIL=&#8221;;&#8221; &#8211;tag-name-filter cat HEAD<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3089\u3001\u518d\u5ea6\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u3092\u304a\u3053\u306a\u3044\u3001\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u304c\u6b63\u3057\u304f\u66f4\u65b0\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>git log &#8211;pretty=full<\/p>\n\n\n\n<p>\u554f\u984c\u306a\u304f\u66f4\u65b0\u3055\u308c\u3066\u3044\u308c\u3070\u3001Github\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067Github\u306e\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u3092set\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>git remote set-url origin https:\/\/(Github\u306e\u30e6\u30fc\u30b6\u30fc\u540d):(Github\u306e\u30d1\u30b9\u30ef\u30fc\u30c9)@github.com\/(Github\u306e\u30e6\u30fc\u30b6\u30fc\u540d)\/(\u30ea\u30dd\u30b8\u30c8\u30ea\u540d).git<\/p>\n\n\n\n<p>\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u306e\u8a2d\u5b9a\u5f8c\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30b3\u30df\u30c3\u30c8\u8005\u306e\u5909\u66f4\u60c5\u5831\u3092\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>git push &#8211;force &#8211;tags origin &#8216;refs\/heads\/*&#8217;<\/p>\n\n\n\n<p>\u4f5c\u696d\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4e00\u6642\u4fdd\u7ba1\u7528\u306b\u4f5c\u6210\u3057\u305f\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>cd ..<br>\nrm -rf (\u30ea\u30dd\u30b8\u30c8\u30ea\u540d).git<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">github.com<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3092\u304a\u3053\u306a\u3044\u3001\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u304c\u6b63\u3057\u304f\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u6728\u66dc\u65e5\u62c5\u5f53\uff1anishida<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8276\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/8276\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"Github\u306b\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u3092\u8aa4\u3063\u3066\u30b3\u30df\u30c3\u30c8\/\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8276\" data-text=\"Github\u306b\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u3092\u8aa4\u3063\u3066\u30b3\u30df\u30c3\u30c8\/\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8276\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8276\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3001Github\u306b\u30b3\u30df\u30c3\u30c8\u8005\u60c5\u5831\u3092\u8aa4\u3063\u3066\u30b3\u30df\u30c3\u30c8\/\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/8276"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=8276"}],"version-history":[{"count":12,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/8276\/revisions"}],"predecessor-version":[{"id":8288,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/8276\/revisions\/8288"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=8276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=8276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=8276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}