{"type":"rich","blog_url":"https://hideharaaws.hatenablog.com/","width":"100%","title":"\uff08\u8abf\u3079\u304c\u3061\u306e\uff09\u305f\u307e\u30fc\u306b\u5fc5\u8981\u306a Git \u30b3\u30de\u30f3\u30c9","published":"2015-01-30 19:59:24","image_url":null,"categories":["Git","TIPS"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhideharaaws.hatenablog.com%2Fentry%2F2015%2F01%2F30%2F195924\" title=\"\uff08\u8abf\u3079\u304c\u3061\u306e\uff09\u305f\u307e\u30fc\u306b\u5fc5\u8981\u306a Git \u30b3\u30de\u30f3\u30c9 - AWS / PHP / Python \u3061\u3087\u3044\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/hidehara/","height":"190","description":"git \u306e\u4f7f\u3044\u65b9\u3063\u3066\u7d50\u69cb\u3057\u3089\u3079\u307e\u305b\u3093\u304b\uff1f\u50d5\u306f\u3001\u958b\u767a\u3057\u3066\u308b\u3068\u6570\u65e5\u306b\u4e00\u56de\u306f\u8abf\u3079\u3066\u308b\u6c17\u304c\u3057\u307e\u3059\u3002 \u305f\u307e\u30fc\u306b\u6b32\u3057\u304f\u306a\u308b\u30b3\u30de\u30f3\u30c9\u3092\u5217\u6319\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u307e\u3060\u9593\u9055\u3044\u306f\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u81ea\u5206\u306e\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u3002 \u30d6\u30e9\u30f3\u30c1 \u30d6\u30e9\u30f3\u30c1\u540d\u306e\u5909\u66f4 \u30ed\u30fc\u30ab\u30eb \u53ef\u80fd git branch -m current-name new-name \u30ea\u30e2\u30fc\u30c8 \u76f4\u63a5\u306f\u4e0d\u53ef\uff08\u4e00\u5ea6\u524a\u9664\u3057\u3066\u3001push\u3057\u76f4\u3059) git push origin :current-name , git push -u origin new-name \u30ed\u30fc\u30ab\u30eb\u306f\u3001reflog\u3082\u30b1\u30a2\u3057\u3066\u304f\u308c\u308b\u4ed5\u7d44\u307f\u306e\u3088\u3046\u3067\u3059\u3002 \u30ea\u30e2\u30fc\u30c8\u306f\u5909\u66f4\u4e0d\u53ef\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3068\u2026","provider_name":"Hatena Blog","blog_title":"AWS / PHP / Python \u3061\u3087\u3044\u30e1\u30e2","author_name":"hidehara","url":"https://hideharaaws.hatenablog.com/entry/2015/01/30/195924"}