私はOrphanブランチが大好きだ。ドキュメントや資料やウェブページなどはぜひそこで管理していってほしい。 いきなりやり方 クローンして checkout --orphan するのではなく git remote add origin して git push origin master:orphan-doc しちゃうと楽。 例) project というディレクトリとリポジトリで運用しているところに orphan-doc というブランチを追加する $ git clone https://github/project.git # これで projectディレクトリができ、普段はこっちで作業 $ mkdir ./project-orphan-doc # ここがドキュメント用ディレクトリ $ cd project-orphan-doc $ git init $ git remote add orig