{"id":23997503,"url":"https://github.com/colinwilliams91/unity-game-template","last_synced_at":"2026-05-09T02:35:47.606Z","repository":{"id":219475903,"uuid":"749109407","full_name":"colinwilliams91/unity-game-template","owner":"colinwilliams91","description":"This is a repo set up w/ proper gitignore and project board for a game development team using Unity","archived":false,"fork":false,"pushed_at":"2024-01-29T15:54:44.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T12:31:40.735Z","etag":null,"topics":["agile","collaborate","collaboration","collaborative","development","devops","game","game-development","gamedev","git","github","how-to","howto","setup","team","tutorial","unity"],"latest_commit_sha":null,"homepage":"https://dev.to/colin-williams-dev/how-to-set-up-git-and-gh-for-unity-2198","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colinwilliams91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-27T15:57:05.000Z","updated_at":"2024-01-29T23:52:25.000Z","dependencies_parsed_at":"2025-01-08T23:16:58.790Z","dependency_job_id":null,"html_url":"https://github.com/colinwilliams91/unity-game-template","commit_stats":null,"previous_names":["colinwilliams91/unity-game-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/colinwilliams91/unity-game-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Funity-game-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Funity-game-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Funity-game-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Funity-game-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colinwilliams91","download_url":"https://codeload.github.com/colinwilliams91/unity-game-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinwilliams91%2Funity-game-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32805053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agile","collaborate","collaboration","collaborative","development","devops","game","game-development","gamedev","git","github","how-to","howto","setup","team","tutorial","unity"],"created_at":"2025-01-07T22:45:55.787Z","updated_at":"2026-05-09T02:35:47.570Z","avatar_url":"https://github.com/colinwilliams91.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# unity-game-template\nThis is a repo set up w/ proper gitignore and project board for a game development team using Unity\n\n## How to hook up Unity to Git/GH\n- Make a Repository on GitHub (GH)\n  - If you aren't using a template, make sure you select \"Unity\" `.gitignore`\n- Make a new project from Unity Hub (UH)\n\t- Make the name of the project the SAME as what the cloned down repo will be (should just be the name of the repo (_sans-\"main\"_))\n- Create a script in your new Unity project (within Unity) to open it with VS by double clicking it\n- Open a terminal in the root folder in VS (your unity proj)\n- Run `git init` to initialize a git repo inside of it\n- Create a `main` branch if it isn't autogenerated from `git init`\n- Run `git remote -v` to see if `origin` has been created automatically or not...\n- If it HAS:\n\t- Run `git remote set-url origin https://gihub.com/your/repo.git`\n\t- to set the remote URL for origin to your clone URL for the GH repository\n- Perform ONE of the FOLLOWING (**A** or **B**):\n- **A:**\n\t- Run `git pull origin main` \n- **B.1:** (_if you have anything in your Unity git repo that you need merged with the remote repo_)\n\t- In the terminal where you ran `git init` (the root of your Unity project) run `git checkout main` (_if you are not already in main_)\n\t- Run `git branch -m main-holder` to rename this branch temporarily\n\t- Run `git fetch`\n\t- Run `git checkout main`\n\t- Run `git pull origin main` this will create a local main that matches the remote main and sync\n\t- Run `git merge main-holder --allow-unrelated-histories` to merge anything you need from your local Unity project\n\t- _If any of the above steps **fail** and you don't want to debug... (**experimental**)_ \n- **B.2:** (only if **B.1:** has failed)\n\t- In a new terminal or system explorer Navigate to the parent folder where your Unity project sits.\n\t- Run `git clone https://gihub.com/your/repo.git`\n\t- In the terminal where you ran `git init` (the root of your Unity project) run `git checkout main` (_if you are not already in main_)\n\t- Run `git merge ../your-cloned-gh-repo/main --allow-unrelated-histories` to merge the main from your local version of the remote GH repo into your local Unity project git repo you created\n- Handle the merge into your Unity Project's git repository where the C# scripts will now be added by default from within the Unity Editor\n\n## Git Workflow\n- 📌Clone down the organization's repo as your `origin` (\"the trunk\" | \"the org repo\" | \"org remote\" | \"origin\")\n  - This should probably be done as a .zip\n- 📌Pick up a Ticket from the [Project Board](https://github.com/orgs/\u003corg-name/projects/1/views/1)\n  - Assign yourself to the ticket and move it into the \"In Progress\" lane\n  - Create a branch directly from that ticket's full view on GitHub\n- 📌Fetch from `origin main` (paste what you copied) in your IDE and checkout your new feature-branch which should share the same name as the issuing ticket\n- 📌Use [Semantic Commit-Messages](https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716) for feature development\n- 📌Push your feature-branch to the trunk remote `git push origin feature/ticket-branch`\n- 📌PR Workflow\n  - 📝Author: PR to main for Code Review\n    - 🔎Reviewer: \"Approval\" is required - this means acknowledging what the push will change\n  - 📝Author: merges into `main`\n    - 🔎Reviewer: checks out `main` and builds in Unity from new `main`\n    - 🔎Reviewer: tests in Unity\n    - 📌Once tested, notify 📝Author of approval\n- 🎇PR to `prod` and merge\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinwilliams91%2Funity-game-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolinwilliams91%2Funity-game-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinwilliams91%2Funity-game-template/lists"}