{"blog_title":"subaru-hello\u2019s blog","published":"2022-10-07 19:20:57","blog_url":"https://subaru-hello.hateblo.jp/","author_name":"subaru-hello","type":"rich","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/subaru-hello/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsubaru-hello.hateblo.jp%2Fentry%2F2022%2F10%2F07%2F192057\" title=\"\u3010Git\u3011\u5c65\u6b74\u306e\u4fee\u6b63 - subaru-hello\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","categories":["Git"],"description":"git rebase -i commit\u306e\u5c65\u6b74\u3092\u6574\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b $ git fetch origin $ git rebase -i origin/<\u30d6\u30e9\u30f3\u30c1\u540d> $ git push --force-with-lease git push \u2014force-with-lease push\u3059\u308b\u969b\u3001\u30ea\u30e2\u30fc\u30c8ref\u3068\u30ed\u30fc\u30ab\u30ebref\u3092\u6bd4\u8f03\u3057\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u304c\u6700\u65b0\u3060\u3063\u305f\u5834\u5408\u306e\u307fpush\u3092\u6210\u529f\u3055\u305b\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3002 git push -f \u3067\u4ed6\u306e\u4eba\u304c\u304f\u308f\u3048\u3066\u3044\u305fcommit\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u3092\u9632\u3050\u305f\u3081\u306b\u3001push\u3059\u308b\u3068\u304d\u306f\u5fc5\u9808\u3002","url":"https://subaru-hello.hateblo.jp/entry/2022/10/07/192057","title":"\u3010Git\u3011\u5c65\u6b74\u306e\u4fee\u6b63","width":"100%","provider_url":"https://hatena.blog","version":"1.0"}