query: tag:submodule

git submodule update を行ったときに

pre>>
fatal: reference is not a tree: dfae...
<<--

というようなエラーが出ることがありました。
これを解決する方法は、
submoduleのディレクトリに移動し、

pre>>
% git reset --hard
<<--

で親ディレクトリに戻り、コミット & push

あとは普通に git submodule update をすればok.

posted by genki genki on Sun 28 Mar 2010 at 18:44 with 0 comments