{"published":"2026-03-14 18:40:15","provider_url":"https://hatena.blog","categories":["Git"],"title":"\u65b0\u898f\u30d6\u30e9\u30f3\u30c1\u306epush\u6642\u306b--set-upstream origin xxx\u3092\u7701\u7565\u3059\u308b","type":"rich","blog_url":"https://kamatimaru.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/kamatimaru/","provider_name":"Hatena Blog","version":"1.0","image_url":null,"url":"https://kamatimaru.hatenablog.com/entry/2026/03/14/184015","description":"\u4eca\u307e\u3067\u3001\u65b0\u898f\u30d6\u30e9\u30f3\u30c1\u306epush\u6642\u306b\u4e00\u65e6git push\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u6012\u3089\u308c\u3066\u304b\u3089git push --set-upstream origin xxx\u3092\u30b3\u30d4\u30da\u3057\u3066\u5b9f\u884c\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u3057\u3066\u3044\u307e\u3057\u305f\u3002 fatal: The current branch xxx has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin xxx \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u3001\u65b0\u898f\u30d6\u30e9\u30f3\u30c1\u3067\u3082git push xxx\u3060\u3051\u2026","author_name":"kamatimaru","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamatimaru.hatenablog.com%2Fentry%2F2026%2F03%2F14%2F184015\" title=\"\u65b0\u898f\u30d6\u30e9\u30f3\u30c1\u306epush\u6642\u306b--set-upstream origin xxx\u3092\u7701\u7565\u3059\u308b - delhi09\u306e\u52c9\u5f37\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>","width":"100%","blog_title":"delhi09\u306e\u52c9\u5f37\u65e5\u8a18","height":"190"}