How to use GitHub with Unity - Beginner tutorial
🎁 Support me on Patreon: / cococode
This tutorial/guide will show you how to use Git with your Unity projects. Version control is a very popular tool among programmers that allows you to review code changes and easily backup your code to the cloud! One of the important aspects that I haven't covered in this video is collaboration that allows you to share code with multiple team members (or even the whole world) and easily work on the same project and files! - Video about that soon!
--------------------------------------------------------------------------------
🔗 LINKS IN THIS VIDEO:
Download Github desktop: desktop.github.com
--------------------------------------------------------------------------------
👨💻 SOCIALS:
💜 Join our Discord: / discord
🔵 Follow me on Twitter: / bionicl333
--------------------------------------------------------------------------------
🎓 YOU WILL LEARN:
- How to use Git
- How Git works
- What is Github
- How to upload code to Github
- How to use Github desktop
- How to use git on Mac/pc
- How to backup Unity project
- How to use git with Unity
--------------------------------------------------------------------------------
⚙️ VIDEO CHAPTERS:
0:00 - Intro
0:22 - How Git works
1:19 - Create repository
2:23 - First commit
4:03 - Making changes
4:58 - Pushing to GitHub
6:40 - Create repository on existing project
7:46 - Reverting changes
8:07 - Access your repository on different computer
Пікірлер: 53
Video on Git/Github collaboration coming soon!
Man, what a great video. This seemed like such a scary barrier for a while but you make it so clear. Glad my game is stored and safe now!
This is absolutely the most clear and concise introduction into GitHub with Unity on all of the internet. Thank you
Thanks for the help! That's a great tutorial that I always come back to.
Big thanks, big thanks, there are no such simple and clear videos on this.
just the video i was searching for simple to follow and easy to understand
Amazing. The only tutorial which I needed. Maybe as a feedback. You should ad the Info that this tutorial is for Mac users. Because I almost skipped, but saw then by accident the mac desktop on the thumbnail. Yours is the only tutorial I found for Mac users :) Thank you so much
thanks. My dad told me to use this for me (a high school student for my code). Now I can finally get into it lol
I already know how to use Git but wanted to enjoy the teaching style!
Very good video! great and easy explanation. thank you
Just love your videos, They are really hopeful keep up the good work.👍👍
@CocoCode
2 жыл бұрын
Thank you very much!
Thanks for ur explanation!
Keep watching your video coco 🥇
Thanks for the video!
Amazing tutorial.
Really awesome 🥰
This is great!!!! tysm
Wow, what a great explanation and way of explaining. I never truly understood Git it seems, and I realized it after watching this video. Thank you good sir. P.S. You deserve way more views and subscribers. I hope you can keep doing what you do.
Amazing! How about switching branch and managing them.
I have a quick question. What files do I commit and what files do I ignore for unity? Basically what do I need?
Helo i am braziliam this video is so cool
Great video! Does this mean I have to delete the old project?
How to resolve merge conflicts in the GitHub desktop when we commit to the main
How about teams and collaborate? Is it better or worse? And how to ignore files on collaborate? 😅
Thanks 👍🏻
I get 5k files despite i chose the unity selection for git ignore. What should i do? thank you
Good Job
Can i delete the github folder on my desktop? Like if i do that, will the stuff on online github be deleted too?
I'm new to all this, and what I find strange is that it seems as if there is no way to check an older version, without deleting every version after it. Like why cant I just swap out the various comits whenever I want to? Makes no sense in my eyes, then again I am a noob, so there maybe is a reason I'm not aware of...
Dzięki bardzo :)
great video
WHAT!20 second Ago.Anyways Amazing and Wonderful video.i suggest an animation curve video Next time.
@CocoCode
2 жыл бұрын
🎉
Thanks
How to fix it bc sometimes it just breaks
bruh, it says this project is not valid when trying to add it to unity from github folder -_-
Hello coconut code. Does. tutorial on how to login via metamask. thanks
How do you deal with files over 100mb? It seems to break Github Desktop. After the 100mb LFS message, it shows me a long error report window - and then won't even commit!
I have a question: How can I keep my unity projects folders organized, if I have to place my projects files in github? Should I create the Github repository folder (1:43) inside my projects main folder (or vice versa)?
@rob6129
2 жыл бұрын
you don't need a separate folder for using github. Your unity project folder is also the github repo folder. If you have an existing project you can initialize a github repo from an existing folder
@danielamareen7321
Жыл бұрын
@@rob6129 thanks for the clarification
I did this and now my Unity project is gone from the current PC and if I put it back there's nothing in my hierarchy....
Great
Can we backup up a whole project or it's just only the code we can backup??..... Am asking this because alot of us tend to have alot of assets
@CocoCode
2 жыл бұрын
Yes, that method shown on the video backups the whole project including assets. Please keep in mind that there is a limit of 100mb per file
@ahmedaghadi8281
2 жыл бұрын
@@CocoCode is that limit is also for git on our device ( not GitHub but git )
@CocoCode
2 жыл бұрын
@@ahmedaghadi8281 No - on your local device (or your local server) you don't have any limits - apart from the disk space ;)
@ahmedaghadi8281
2 жыл бұрын
@@CocoCode Thx for the reply! :)
@remijoel1448
2 жыл бұрын
@@CocoCode ok so am about to make my first repository.... All the total files was up to 3000 and alot where Dll files... Pls if should i ignore those Dll files? Or i should leave them like that?
good
Please write down a video on creating your own tycoon, otherwise I watch you have absolutely no ideas for a video