2012-02-02から1日間の記事一覧

gitリポジトリをshallowに変換

git

環境 git-1.7.4 $ git clone --depth=1 https://hoge.com/hoge/hoge.git とかでリポジトリをshallowクローンできるのは知っていたのですが、通常のリポジトリを簡単にshallow化する方法を発見したのでメモメモ。 $ git clone https://hoge.com/hoge/hoge.git…