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
はアセットに何が必要なのか管理する情報が入っているらしい
デフォルトでこれだった
>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.
>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の場合、全く同じだった