Get more things done with git

  1. Create your repository
  2. Create your Unity project
  3. initialize your local repository
    git remote add origin <paste the url you just copied from your github>
  4. add the remote repository
  5. EXTREMELY IMPORTANT! rename your master branch to main with “git branch -m master main”
  6. VERY IMPORTANT TOO! git pull origin main
  7. add files
  8. commit
  9. push remote origin
  10. if you don’t want to keep renaming your branch to main, you can permanently change it with this command: “git config -.- global init.defaultBranch main” (also don’t use the period between the dashes, I put that there because two dashes always turn into a longer dash) Thanks to Siddhat Thakur for the info!




cartoonist, game artist, and wanabe gamedev.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Managed IT Services in Stoke Charity #Managed #IT #Services #Stoke #Charity

Rewind Dev Log #2

Scrapping IPL player stats

Everything should be real and natural

How to Mail Merge Excel to Word

CLI Data Gem Portfolio Project Blog

Serving ML Models as Reusable Containers

How to install Git and Git Extensions?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Esteban Ibarra

Esteban Ibarra

cartoonist, game artist, and wanabe gamedev.

More from Medium

Understanding Big O

(most of the time) I’m firing my laser!

C++ Pointers Practice Questions

What is the difference between C and C++?