common git files
Go to file
2024-07-09 12:04:56 +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,unity: track .wcr (world creator) 2024-07-05 01:01:02 +00:00
README.md docs: add better qs docs 2024-07-02 05:47:13 +08:00
repoquickset.ps1 qs: dont use fancy chars :( 2024-07-02 05:40:32 +08:00
Unity.gitattributes unity: better gitignore (#1), and gitattributes 2024-07-09 12:04:56 +08:00
Unity.gitignore unity: better gitignore (#1), and gitattributes 2024-07-09 12:04:56 +08:00

git lfs files

quickstart script

  1. make a folder or navigate to a folder where you want the repo to be in

  2. right click on the folder and open PowerShell or Open in Terminal

  3. run the following:

    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