2024-01-10から1日間の記事一覧
git repositoryのsizeが一定以上をlfs trackするやつ find . -type f -size +1M -not -path "./.git/*" | xargs git lfs track いままでこのワンライナー使ってたのだけれど、 単に特定サイズ以上を全部trackすると.gitattributeが汚くなって嫌なので書いた…
git repositoryのsizeが一定以上をlfs trackするやつ find . -type f -size +1M -not -path "./.git/*" | xargs git lfs track いままでこのワンライナー使ってたのだけれど、 単に特定サイズ以上を全部trackすると.gitattributeが汚くなって嫌なので書いた…