###前提・実現したいこと
現在railsで開発したプログラムをgitで管理しているのですが。
.gitignoreで除外しているフォルダ下のファイルが原因で怒られてしまいます。
キャッシュを消したりもして何度もトライしてるのですが、解決しません。
どのように対処すればいいのでしょうか。
###発生している問題・エラーメッセージ
Counting objects: 1792, done. Delta compression using up to 4 threads. Compressing objects: 100% (1322/1322), done. Writing objects: 100% (1792/1792), 88.21 MiB | 3.46 MiB/s, done. Total 1792 (delta 294), reused 1712 (delta 255) remote: Resolving deltas: 100% (294/294), completed with 16 local objects. remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: Trace: fd8a67a8f9b4eb86b2901c3c96785a52 remote: error: See http://git.io/iEPt8g for more information. remote: error: File vendor/bundle/ruby/2.3.0/gems/libv8-3.16.14.15-x86_64-darwin-15/vendor/v8/out/x64.release/libv8_base.a is 150.16 MB; this exceeds GitHub's file size limit of 100. 00 MB
###該当のソースコード
# Ignore bundler config. /.bundle # Ignore the default SQLite database. /db/*.sqlite3 /db/*.sqlite3-journal # Ignore all logfiles and tempfiles. /log/* !/log/.keep /tmp vendor .git
###試したこと
http://d.hatena.ne.jp/ufssf/20111111/1321022155
こちらの記事を参考に
git rm -r --cached . git add . git commit -m ".gitignore is now working" git push origin master
をしてみましたが、同じエラーがでてしまいます。
###補足情報(言語/FW/ツール等のバージョンなど)
git version 2.7.4
エラーメッセージに "See http://git.io/iEPt8g for more information. "とある通り、まずはこのページを熟読することをお勧めします。それでも分からなければ、改めて「分からないこと」と「試したこと」をまとめ直した上で質問してみてください。
ちなみに http://d.hatena.ne.jp/ufssf/20111111/1321022155 の手順では、すでに一度 プッシュしてしまったファイルについては効果はないはずです。

回答2件
あなたの回答
tips
プレビュー