dude i can’t even upload my stld asg1 onto github it’s fucking over
have two repos LOL
School Projects
├── **Your Unity Project (Master)**
│ *(forge.joshwel.co, git-lfs + gitattributes)*
│ ├── .gitignore
│ ├── .gitattributes
│ ├── Assets
│ ├── Library
│ ├── Logs
│ ├── Packages
│ ├── Packages
│ ├── ProjectSettings
│ ├── UserSettings
│ └── ...
└── **Your Unity Project - Clone for GitHub (Copy)**
*(github.com, git-lfs)*
├── .gitignore
├── .gitattributes
├── Assets
├── Packages
├── ProjectSettings
└── ...
Copy and paste the files in Master project folder into your Copy project folder
<aside>
⚠️ do not copy the .git
directory over!!! you will override the git repo inside the Copy folder
</aside>
Use GitHub Desktop or VS Code to sync the Copy project repository with GitHub
tl;dr — have two repos, master for forge and copy for github; update the master/forge repo ~daily, and only update the copy/github repo when you get something done (e.g., a certain feature, game functionality, an asset, terrain, etc)
<aside> ⚠️ warning i really, really, REALLY, hope you know yourself what you’re doing here if not, stick to the Current Advised Workflow above —mark
</aside>
# revert lfs into a normal git repo
git lfs fetch
git lfs migrate export --everything --include="*" --remote=forge