UnityプロジェクトをGitで管理する
画像や音声ファイルなどのバイナリデータはファイルサイズが大きくなりがちなのでGit LFSトラック対象とする Unity公式
Before checking your project in, you have to tell Unity to modify the project structure slightly to make it compatible with storing assets in an external version control system. This is done by selecting Edit->Project Settings->Editor in the application menu and enabling External Version Control support by selecting Visible Meta Files in the dropdown for Version Control. This will show a text file for every asset in the Assets directory containing the necessary bookkeeping information required by Unity.The files will have a .meta file extension with the first part being the full file name of the asset it is associated with. Moving and renaming assets within Unity should also update the relevant .meta files. However, if you move or rename assets from an external tool, make sure to syncronize the relevant .meta files as well.
.metaはアセットに何が必要なのか管理する情報が入っているらしい
https://gyazo.com/cd2b4e83d9e4670e44330f616fe0b228
デフォルトでこれだった
When checking the project into a version control system, you should add the Assets, Packages and the ProjectSettings directories to the system. The Library directory should be completely ignored - when using .meta files, it’s only a local cache of imported assets.
https://gyazo.com/f2ba156a5ab57b81b23e93f59863fdb4
When creating new assets, make sure both the asset itself and the associated .meta file is added to version control.
assetに対応する.metaはバージョン管理が必要
.gitignoreの設定
ignoreしたほうが良いもの
*.log
*.pyc:pythonプラグインで生成されるbytecodeのcache
Asssetのignoreの意味がわからなかったけどこれをよんでわかった
が進められている
両者の内容はUnityの場合、全く同じだった