{"id":1294,"date":"2014-12-13T23:26:40","date_gmt":"2014-12-13T14:26:40","guid":{"rendered":"http:\/\/tech.akat.info\/?p=1294"},"modified":"2014-12-13T23:26:40","modified_gmt":"2014-12-13T14:26:40","slug":"git%e3%81%a7%e3%83%96%e3%83%a9%e3%83%b3%e3%83%81%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%82%89git-push%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8b%e3%81%a3%e3%81%9f","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=1294","title":{"rendered":"git\u3067\u30d6\u30e9\u30f3\u30c1\u3092\u5909\u66f4\u3057\u305f\u3089git push\u3067\u304d\u306a\u304b\u3063\u305f"},"content":{"rendered":"<h1>\u89e3\u6c7a\u65b9\u6cd5<\/h1>\n<p>git push\u3067\u306f\u306a\u304f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6b63\u5f0f\u306b\u6307\u5b9a\u3057\u305f\u3089push\u3067\u304d\u305f<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### \u8a2d\u5b9a(push.default\u306fnothing\u306b) ###\r\ngit config push.default nothing\r\ngit config --global --list\r\n user.email=xxxxxx@gmail.com\r\n user.name=xxxxxx\r\n push.default=nothing\r\n### git push &lt;\u30ea\u30e2\u30fc\u30c8\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u540d&gt; &lt;\u30ed\u30fc\u30ab\u30eb\u306e\u30d6\u30e9\u30f3\u30c1\u540d&gt;:&lt;\u30ea\u30e2\u30fc\u30c8\u306e\u30d6\u30e9\u30f3\u30c1\u540d&gt; ###\r\ngit push -u origin develop:master\r\n<\/pre>\n<h1>\u30a8\u30e9\u30fc\u5185\u5bb9<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### \u30d6\u30e9\u30f3\u30c1\u3092\u4e00\u89a7\u8868\u793a\u3059\u308b-\u5229\u7528\u3057\u3066\u3044\u308b\u30d6\u30e9\u30f3\u30c1\u306b*\u304c\u3064\u304f ###\r\ngit branch\r\n### develop\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b ###\r\ngit branch develop\r\ngit checkout develop\r\n<\/pre>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/12\/2014-12-13_154351.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/12\/2014-12-13_154351.png\" alt=\"2014-12-13_154351\" width=\"594\" height=\"218\" class=\"alignnone size-full wp-image-1295\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### \u30a8\u30e9\u30fc\u3067\u3042\u3052\u3089\u308c\u305a ###\r\ngit push\r\n<\/pre>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/12\/2014-12-13_160904.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/12\/2014-12-13_160904.png\" alt=\"2014-12-13_160904\" width=\"631\" height=\"227\" class=\"alignnone size-full wp-image-1296\" \/><\/a><\/p>\n<h1>push.default\u306b\u3064\u3044\u3066<\/h1>\n<p>matching\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u30012.0\u304b\u3089simple\u304c\u30c7\u30d5\u30a9\u30eb\u30c8<br \/>\nmatching \u30ed\u30fc\u30ab\u30eb\u3068\u30ea\u30e2\u30fc\u30c8\u3067\u540c\u4e00\u306e\u540d\u524d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u3042\u308c\u3070\u5168\u3066push\u3059\u308b<br \/>\n\u5909\u66f4\u3057\u3066\u3044\u305f\u5834\u5408<br \/>\ngit config &#8211;global &#8211;list<br \/>\n\u3067\u78ba\u8a8d\u53ef\u80fd<\/p>\n<h1>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u60c5\u5831\u306e\u78ba\u8a8d\u65b9\u6cd5<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### \u4ed6\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u306e\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b ###\r\n### \u30ea\u30e2\u30fc\u30c8\u306e\u30b5\u30fc\u30d0\u306b\u6163\u7fd2\u7684\u306borigin\u3068\u3064\u3051\u308b\u3089\u3057\u3044 ###\r\n$ git remote -v\r\norigin  ssh:\/\/548ba7xxxxxxxxxxxx.cloud.com\/~\/git\/codeigniter.git\/ (fetch)\r\norigin  ssh:\/\/548ba7xxxxxxxxxxxx.cloud.com\/~\/git\/codeigniter.git\/ (push)\r\n\r\n### \u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea origin \u306e\u60c5\u5831\u3092\u898b\u308b ###\r\ngit remote show origin\r\n\r\n### \u30ea\u30e2\u30fc\u30c8\u306e\u30d6\u30e9\u30f3\u30c1\u540d\u3092\u53d6\u5f97 ###\r\n$ git branch -r\r\n  origin\/HEAD -&gt; origin\/master\r\n  origin\/dev\/typeless\r\n  origin\/develop\r\n  origin\/master\r\n\r\n### \u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u524a\u9664\u3059\u308b ###\r\ngit push &lt;repository&gt; :&lt;branchname&gt;\r\n<\/pre>\n<h1>\u53c2\u8003URL<\/h1>\n<p>git\u306epush.default\u306b\u95a2\u3059\u308b\u30ce\u30a6\u30cf\u30a6<br \/>\nhttp:\/\/qiita.com\/awakia\/items\/6aaea1ffecba725be601<br \/>\nGit\u8d85\u5165\u9580\uff1a&#8221;git push origin master&#8221;\u306e&#8221;push&#8221;\u3068&#8221;origin&#8221;\u3068&#8221;master&#8221;\u306e\u610f\u5473\u304c\u308f\u304b\u3089\u306a\u3044\u3042\u306a\u305f\u3078<br \/>\nhttp:\/\/dqn.sakusakutto.jp\/2011\/10\/git_push_origin_master.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a\u65b9\u6cd5 git push\u3067\u306f\u306a\u304f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6b63\u5f0f\u306b\u6307\u5b9a\u3057\u305f\u3089push\u3067\u304d\u305f ### \u8a2d\u5b9a(push.default\u306fnothing\u306b) ### git config push.default nothing git  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1294"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1294"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1294\/revisions"}],"predecessor-version":[{"id":1297,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1294\/revisions\/1297"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}