- ある開発者の覚書 - ソフトウェア開発者が情報処理に関する雑多な話題をジャンルを問わずに書き留めています.未来の私、私と同類のgeekたちへ

2015-02-23

Gitリポジトリ中のサブディレクトリを別のリポジトリにする - 北海道苫小牧市出身のPGが書くブログ

% cd ..

% git clone hoge subdir

Initialized empty Git repository in /private/tmp/subdir/.git/

% cd subdir

% git filter-branch --subdirectory-filter subdir HEAD

0 件のコメント:

ブログ アーカイブ