common/README.md

1.4 KiB

git lfs files

quickstart script

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser; irm "https://forge.joshwel.co/mark/common/raw/branch/main/repoquickset.ps1" | iex

file placements

  • 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