Skip to content

Instantly share code, notes, and snippets.

@SabinT
Last active January 6, 2022 08:39
Show Gist options
  • Save SabinT/92f3aa0c3d89565849b0577b55a59080 to your computer and use it in GitHub Desktop.
Save SabinT/92f3aa0c3d89565849b0577b55a59080 to your computer and use it in GitHub Desktop.
Common Unity project first time setup
git init
curl -o .gitignore https://github.com/github/gitignore/raw/main/Unity.gitignore
curl -o .gitattributes https://gist.github.com/nemotoo/b8a1c3a0f1225bb9231979f389fd4f3f/raw/dc3e8cab80fc62d1c60db70c761b1ffa636aa796/.gitattributes
git add .gitignore
git add .gitattributes
git commit -m "Initialize with gitignore/git LFS attributes"
# Optional: add useful packages
# openupm add com.newtonsoft.json
# openupm install com.madsbangh.easybuttons
# openupm add jillejr.newtonsoft.json-for-unity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment