{"version":"1.0","height":"190","image_url":null,"title":"git\u3067\u89aa\u30d6\u30e9\u30f3\u30c1\u306e\u306a\u3044\u7a7a\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b","blog_url":"https://portaltan.hatenablog.com/","blog_title":"\u8133\u6c41portal","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","width":"100%","published":"2018-05-21 09:36:22","url":"https://portaltan.hatenablog.com/entry/2018/05/21/093622","author_url":"https://blog.hatena.ne.jp/portaltan/","categories":["Git"],"author_name":"portaltan","description":"git\u3067\u89aa\u30d6\u30e9\u30f3\u30c1\u306e\u7a7a\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3067\u3059 \u79c1\u306fgit\u5229\u7528\u958b\u59cb\u6642\u306b\u8272\u3005\u306aversion\u306e\u30bd\u30fc\u30b9\u304c\u3042\u3063\u3066\u3001\u305d\u308c\u3089\u3092git\u4e0a\u3067merge\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u304d\u306b\u306a\u3069\u4f7f\u3044\u307e\u3059 --orphan\u30aa\u30d7\u30b7\u30e7\u30f3 # \u89aa\u306e\u306a\u3044\u30d6\u30e9\u30f3\u30c1\u306e\u4f5c\u6210 $ git checkout --orphan <new_branch> # \u7ba1\u7406\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u306e\u6307\u5b9a $ git add <file you want to add> # commit $ git commit # push $ git push origin <new_branch> \u3053\u308c\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b0\u30e9\u30d5\u306a\u3069\u3067\u3001\u3069\u306e\u30d6\u30e9\u30f3\u30c1\u3068\u3082\u3064\u306a\u304c\u3063\u3066\u3044\u306a\u3044\u30d6\u30e9\u30f3\u30c1\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fportaltan.hatenablog.com%2Fentry%2F2018%2F05%2F21%2F093622\" title=\"git\u3067\u89aa\u30d6\u30e9\u30f3\u30c1\u306e\u306a\u3044\u7a7a\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b - \u8133\u6c41portal\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}