This section is only for script kiddies
- Download Unity Hub
- Download Unity 2021.1.22f1 (correct version is really important) - comes bundled with Visual Studio
- Download https://git-scm.com/
- GitHub - website that hosts our code and assets
- git - protocol that tracks our project from start to finish (like Google Docs version history)
- repository - a single project
- local - the copy of the files on your computer
- remote - the central copy of the files that the entire team adds to through commits
- commit - changes (e.g adding/removing files)
Grab a local version of the remote repository
git clone https://github.com/terebigeemu/ludum-dare-49.git
cd ludum-dare-49
git config --global user.name "your-github-username"
- Go here - https://github.com/settings/emails
- Click the checkbox "Keep my email addresses private"
- Under that, it will show a fake-looking email address, like the one shown below
We’ll remove your public profile email and use 36395320+aidswidjaja@users.noreply.github.com when performing web-based Git operations (e.g. edits and merges) and sending email on your behalf. If you want command line Git operations to use your private email you must set your email in Git.
- Copy and paste that email
- Then run this command using the email you copied and pasted (with quotation marks)
git config --global user.email "what-you-copied-and-pasted"
- When git asks for your username, type your GitHub username
- When git asks for your password, do the following
ugh why they try and make everything so secure
- Go here - https://github.com/settings/tokens
- Click on "Personal access tokens"
- Click on "Generate new token"
- Confirm your password
- Add your note (it can be anything, e.g "Potato")
Tick the following checkboxes
- repo
- admin:org
- gist
- notifications
- user
- write:discussion
Then copy and paste your personal access token - you won't see it again after this.
When git asks for your password, copy and paste this token.
Merge your changes back into the remote repository
cd ludum-dure-49
git add -A
git commit -m "Your changelog message here"
git push origin main
Grab the latest version of the remote repository
cd ludum-dare-49
git pull
Problems? Ping Adrian on Discord.