The Unity Project with all the stuff in game
https://github.com/apps/desktop
Video link: https://www.youtube.com/watch?v=pNUdu-6ZNBg&t=98s
- Open Github Desktop App
- Go to Clone Repository
- type the key word "unity" to find the repo: "GameDevGroup4/Unity-Project"
- Remember the local path for the repo, then click "clone"
- Go to Unity Hub
- Press "New Project" button
- Rename the 2D project name and create project(make sure the project is saved at the same location for github)
- You can create an object to test(remember to save the unity project)
- back to github app, you may see there are some of changed files, you can write comment and then press the "Commit to main" button(if you saw tons of files (like 1k+), you need to move the .gitnore file into your project. For Windows, .gitnore is next to your project, you need to move it inside; for Mac, you need to press "Command+Shift+Period" to show .gitnore file and move it inside the project)
- Press the "Push origin" button to upload to github
- Go to github desktop app
- Go to file--clone a repo--find the shared repo "GameDevGroup4/Unity-Project" (remember the local path of the repo)
- Press the clone button
- Go to Unity hub
- click the arrow next to "Open" and select "Add project from disk"
- Go to the local path of the github repo and add this project
- Open the project and make changes
If you want to try new idea, you can push the code to new braches other than main to make sure the main code are safe
Then if you are sure about your idea, you can create pull request and merge the modified branch to main branch