common git files
Go to file
2024-07-02 05:28:31 +08:00
Design.gitattributes all: do not use macros 2024-06-06 16:17:29 +08:00
Generic.gitattributes all: do not use macros 2024-06-06 16:17:29 +08:00
GitHub.gitattributes meta: add github gitattributes 2024-07-02 04:49:44 +08:00
Modelling.gitattributes modelling: add pureref 2024-06-06 09:42:11 +00:00
README.md docs: add quickstart command 2024-07-02 05:23:02 +08:00
repoquickset.ps1 qs: add synposis stuff 2024-07-02 05:28:31 +08:00
Unity.gitattributes all: do not use macros 2024-06-06 16:17:29 +08:00
Unity.gitignore meta: become common 2024-06-06 15:59:53 +08:00

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