Our problem!
We have develop game on iOS and Android, Our problem is update atlases maker on Windows then commit it to git and after that pull it on MAC OSX for iOS version but .mat and .prefab no tracked by git, the result is no changed on MAC OSX, we should did it again on MAC OSX
Trying
- We have tried it "git rm -r --cached", it's not working
- Add !.prefab and !.mat to .gitignore file, it's not working too.
- Last way is remove and commit it and add file and commit it again. it's not a good way but it working.
.gitignore file
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
# Autogenerated VS/MD solution and project files
/*.csproj
/*.unityproj
/*.sln
/*.suo
/*.user
/*.pidb
UnityProj.userprefs
# Unity3D Generated File On Crash Reports
sysinfo.txt
AuthInfo.txt
!*.prefab
!*.mat
Have anyone any ideas to better way? please!