955 B
955 B
How to clean the Packages folder even after a previous commit
git rm -r --cached Packages/
ALWAYS TRACK THESE FILES (never ignore them)
- Packages/manifest.json
- Packages/vpm-manifest.json
- ProjectSettings/
- Assets/
How to configure LFS in your repository
First, install Git LFS on your machine.
brew install git-lfs
Enable LFS for your repository.
git lfs install
Add the files you want to track with LFS.
git lfs track "*.png"
git lfs track "*.jpg"
git lfs track "*.psd"
git lfs track "*.fbx"
git lfs track "*.obj"
git lfs track "*.wav"
git lfs track "*.mp3"
git lfs track "*.ogg"
git lfs track "*.anim"
git lfs track "*.controller"
git lfs track "*.mat"
git lfs track "*.prefab"
git lfs track "*.unity"
git lfs track "*.asset"
git lfs track "*.unitypackage"
Then, configure LFS for your repository.
git config lfs.https://git.example.org/user/repo.git/info/lfs.locksverify true