common/README.md
2024-06-06 15:59:53 +08:00

1.2 KiB

git lfs files

file placement

  • for Game-only projects

    Game (Unity) Repository Folder
    ├── .git/
    ├── .gitignore      (from Unity.gitignore)
    ├── .gitattributes  (from Unity.gitattributes)
    └── ...
    
  • for Modelling-only projects

    Modelling (Maya / Z Brush / Substance Painter) Repository Folder
    ├── .git/
    ├── .gitattributes  (from Modelling.gitattributes)
    └── ...
    
  • for Shared projects

    Shared Repository (a la Integrated Project)
    ├── .git/
    ├── Game
    │   ├── .gitignore        (from Unity.gitignore)
    │   ├── .gitattributes    (from Unity.gitattributes)
    │   └── ...
    ├── Modelling
    │   ├── .gitattributes    (from Modelling.gitattributes
    │   └── ...
    └── ...
    

setting up lfs

# init git lfs
git lfs install

# optional, for multi-user/multi-collaborator repositories
git config lfs.https://forge.joshwel.co/<username>/<repository>.git/info/lfs.locksverify true

also see the forge's Resources page for more info on setting up LFS projects