Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 975 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 975 Bytes

UnityTesting

Testing Unity with Git

Some simple rules:
  • .meta files must always be committed with their assets
  • Always open the project in Unity before a commit, to allow it to update metas.
  • If you add an asset or folder, it’s up to you to commit the meta
  • Move/delete objects in Unity, not the filesystem, so it updates metas accordingly (git detects these actions correctly, moves actually show up as moves in history)
  • If you delete an asset or folder, it’s up to you to commit the meta deletion
  • Always delete folders that no longer contain assets and commit the meta deletion
  • Notify the team before you push to avoid pushblocking someone that’s doing a large push with something small and trivial.
  • Ideally when starting on what could be a large/time consuming feature, create a local branch so if you need to switch back to master to fix something small you can