はじめに
Unityで作成したプロジェクトをGitHubにあげようとしたら、「git add .」のコマンドでエラーが発生したので、解決策を共有します。Macを使用している方向けの内容です。
エラー内容
terminal
warning: in the working copy of 'RPG_dev/Library/PackageCache/com.unity.collab-proxy@1.15.7/.signature', CRLF will be replaced by LF the next time Git touches it
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
解決策
こちらの記事を参考にしました。
terminal
brew install git-lfs
git lfs install
git lfs install --system
上記のコマンドを打った後に、「git add .」でいけるはず。