After 7 years I still come back to this video when I start a new project. Donno, It feels good to see Brackys face when I start a project. Brings back good memories
Thank you so much. I was a part of a game design club at my college and we had so many problems because our repo/ version control had not been set up properly from the start. Now that i'm starting my own side project, i'm really glad to have tutorials like yours that outline the process so well. Thank you for sharing the knowledge.
sorry but I saw u just commented and i wanted to take this chance and ask.. does git act like a 'cloud' type storage for projects so i can in anytime download my latest progress if for instance i reset my PC, got a new one, etc?/ or i misunderstood it? thx..
Never used github, always thought learning the commands would be too confusing... This is one of the most helpful videos I've ever seen in my life! THANK YOU!
Everytime I type some question in about Unity or Programming, Brackeys got my back. I did not expect to find a video about using GitHub with Unity, but aayyyyy, here it is. Thanks man!
Took me nearly a full days work and all of my pride before I found this video explaining that gitignore doesn't function properly, I'm elated and fustrated at the same time. But I must say, I'm eternally greatful for the vid!
Just a correction: At 5:49, when he says "a lot of these files are actually Metafiles", what he meant is that folders like Library/, Logs/ and UserSettings/ are recreated for every person using Unity, are based on local configuration and therefore are not required include in your versioning system.
but when I uploaded it to github and downloaded it again the scene was empty. It was only when I added by old assets and library folder that I got my project back. Is there a way to get your project back without having your library there?
@@raeestheviewer224 @renatodex I'm also interested in this questions answer. Are really all of the metafiles that trivial? If the slashes infront of the gitignore things are not useful why did they not get deleted in updates of the gitignore list?
A .gitignore doesn't have to be in the project root, it can be anywhere in the repo, and you can have multiple. Just put the .gitignore for the Unity project in the project folder
Its so cool that it only saves the changes, and not the whole project! that means multiple people can work on diffrent parts of the project without deleting/changing the progress of the other people! Thanks for the AMAZING tutorial!
I like how you pronounced Heemskerk, it is a Dutch name and hard to pronounce for non-Dutch speakers. Still you managed to make me clearly understand the word. You're not only good in developing games but also pronouncing unknown names!
Thank You SO SO MUCH!!! I'm trying to collaberate with my friend for 2 months but still didn't succeeded but now, thanks to you we can build our game! Thank You Freaking much!
Yesterday I was looking for good tutorial about using Git with Unity. Today seeing your tutorial made me very content as I know your tutorial are very good. Thank you! :)
You've Just saved my life with the torture I face everyday in the studio due to github (or someone) removing my files and getting corrupted or disappearing. Now I understood what to do... Thank you!
Nice video. Could you do a second one with best practices on how to manage large files eg. 3d models? You don't want them updating all the time and taking up lots of space. Some users use a separate hub for those big files?
How do I get visual studio to work with my local and remote repositories? It asks me to add version control and when i click to add , it's only offering to add. Also as it turns out my working project root is different from my local repo. One option would be to manually make commits.. and somehow turn off the offer to version control in VS. Or maybe I will start over and make my root of the project in the local repo.
If i understand correctly at 1:27 if you choose free plan then anyone can see and pull your work but can't make changes to it, but they can still stole it?
@@CustardCream33 ah, no. I added my already existent project to GitHub (for backup and collaboration with my friend) so yeah, that's why it has a lot of files.
Side note for people using Unity and Blender. If you do what Brackeys did, but you're using filename.BLEND instead of filename.FBX - you are going to be the only one seeing the model, your teammates won't. We had a Blender file that had all assets for the level that I was using. When other people pulled the project, they could only see the character and one model (it was in FBX format). Took us couple of days, damn.
That's one nice and useful video!! Yet I have some questions: I'm working in a project that has quite a few downloaded assets from the Asset Store. Do I have to push them all to my repository? Isn't it possible to just push some kind of reference so that Unity knows what to download and import from the Asset Store when starting a cloned repo?
In the project settings, version control is its own tab now, separate from the Editor tab. Hope this helps anyone watching after today!
Ahhhh thanks dude i searched so lond for this
Thank goodness, jeez..... Thank you so much
Thanks!
Ur a god.
In what unity version? In mine 2019lts is the same as the video
Start watching at 4:35 if you're already know what is git and just want to know about Unity specific settings.
thanks!
thank you for saving 4 minutes of my life :)
@@wheeler2137 You lost the same time with the comment hahaha
Thank you
Don't forget your Unity .gitignore file at 1:46, though!
I love how almost 4 years later this video is still helpful.
Yeah I just set it all up too!
truee!!
almost 5 year and still helpful
5 years and still helpful
and still going strong
After 7 years I still come back to this video when I start a new project. Donno, It feels good to see Brackys face when I start a project. Brings back good memories
It's 2021 and Brackeys is still saving lives..
Thank you so much. I was a part of a game design club at my college and we had so many problems because our repo/ version control had not been set up properly from the start. Now that i'm starting my own side project, i'm really glad to have tutorials like yours that outline the process so well. Thank you for sharing the knowledge.
ha same, we were taught to use SourceTree/Bitbucket/Atlassian (and that's all for one version control!!!) but I'm trying to learn better xD
Even 5 years later this is still the best tutorial about the topic I could find... and it was exactly what I needed ! Thanks !
sorry but I saw u just commented and i wanted to take this chance and ask.. does git act like a 'cloud' type storage for projects so i can in anytime download my latest progress if for instance i reset my PC, got a new one, etc?/ or i misunderstood it? thx..
@@AbdulazizAlmawash Yes, it is an cloud repository
It's still funny how I quickly come back to this video for every new project. Congrats with 1+ million subs, you deserve it!
This is a video i have been wanting for soooooo long!!! Thanks Brackeys.
I agree Brackeys always makes everything so simple and great
:)
Years later, i just started using unity again, and it's nice to see you again :)
watched it after 6 whole year and it still does it job, crazy to think, deserves a subscriber.
Never used github, always thought learning the commands would be too confusing... This is one of the most helpful videos I've ever seen in my life! THANK YOU!
Thank you so much for this. Every github tutorial I've tried has always assumed you knew some high level vernacular of coding.
GitHub has mystified me for many moons. Thank you for that brief and straight forward explanation
Man, his channel is still the best source of information.
Everytime I type some question in about Unity or Programming, Brackeys got my back. I did not expect to find a video about using GitHub with Unity, but aayyyyy, here it is. Thanks man!
thanks for the gitignore went from 20700 files to 300. Brackeys is the man.
Took me nearly a full days work and all of my pride before I found this video explaining that gitignore doesn't function properly, I'm elated and fustrated at the same time. But I must say, I'm eternally greatful for the vid!
Thank you. This video was way more helpful than my teacher. The teacher knew what he was doing but he didn't explain it very well.
You are a legend!!!! you helped me through trade school and now your videos are helping me through college!
This is the best VCS tutorial for Unity in 2021
You literally have a video for every question I've had. I love your channel.
Just a correction:
At 5:49, when he says "a lot of these files are actually Metafiles", what he meant is that folders like Library/, Logs/ and UserSettings/ are recreated for every person using Unity, are based on local configuration and therefore are not required include in your versioning system.
but when I uploaded it to github and downloaded it again the scene was empty. It was only when I added by old assets and library folder that I got my project back. Is there a way to get your project back without having your library there?
Thank you. You have explained me a lot!
@@raeestheviewer224 @renatodex I'm also interested in this questions answer. Are really all of the metafiles that trivial? If the slashes infront of the gitignore things are not useful why did they not get deleted in updates of the gitignore list?
I love all of your videos, they're simple and straight to the point :3
You can also create the repo from right inside Github Desktop
This dude quit RUclips and is still teaching me.
4:21 I knew that Brackeys's 'projects' folder probably had a lot of stuff in it, but I still wasn't prepared for that massive list!
I counted and Brackeys has created 80 projects!
I am so happy, when I see a new video on Brackeys channel. Thank you!
Perfect clean explanation on how to setup and use git... finally someone actually made me do it. Great job!
This is a old video still works, thank you so much, the gitignore edit changed the amount of files from 25k!!! to 49! thank you so much for this
thanks man, I couldn't commit my project because my metafile wasn't working but the bit at 5:50 helped me fix it
A 5-year-old video beat the s***t out of those "new" videos. What a legend!
Was going to try this by myself but I wouldn't have thought to look for the Unity gitignore template. Just what I needed, thank you!!
you are the best teacher I have ever met :0
A .gitignore doesn't have to be in the project root, it can be anywhere in the repo, and you can have multiple. Just put the .gitignore for the Unity project in the project folder
I just held a GamesJam and we had so many problems with the meta files. Now I know why. Thank you so much!!
Its so cool that it only saves the changes, and not the whole project! that means multiple people can work on diffrent parts of the project without deleting/changing the progress of the other people!
Thanks for the AMAZING tutorial!
brackeys is OP even 5 years later.
2023 and still relevant! This is amazing!
I've been looking for the tutorial on google yesterday and finally found it here, thanks Brackeys!!
Brackeys is still the best RUclipsr for Unity tutorial
I really suprised how he can explain this simple. Nice tutorial like always.
I like how you pronounced Heemskerk, it is a Dutch name and hard to pronounce for non-Dutch speakers. Still you managed to make me clearly understand the word. You're not only good in developing games but also pronouncing unknown names!
Man you saved my life. I was learning the Github bash and its really complicated. But YOU ARE THE MAN!
Thank you, you saved my sanity. Btw hopefully you still sometimes check your RUclips videos. I’m happy that you decided to do what you really wanted
"Descriptions: a test repository for an imaginary game... I need friends." haha I'll be your friend xD
With this tutorial I can actually get a team together to work on projects!
This video was(and still is) a life saver
Thx Brackeys
Miss you Brackeys! :(
Thank You SO SO MUCH!!! I'm trying to collaberate with my friend for 2 months but still didn't succeeded but now, thanks to you we can build our game! Thank You Freaking much!
Yesterday I was looking for good tutorial about using Git with Unity. Today seeing your tutorial made me very content as I know your tutorial are very good. Thank you! :)
very clear and said in a way that doesn't waste my time! Great Tutorial!!!
the legend is still helping
Чувак, я тебя просто люблю!)) Ты просто лучший учитель в мире, спасибо что делишься бесценной информацией!!)))
"I need friends" hahaha... know that in Brazil you there are one friend. I lot a learn with you! Thanks bro!.
Mesmo nome que eu e um admirador do brackeys, é gente fina com certeza
You've Just saved my life with the torture I face everyday in the studio due to github (or someone) removing my files and getting corrupted or disappearing. Now I understood what to do... Thank you!
If it on github then you can always check history for it. Also make your own branch .
I miss you man.
i literally love you, you have saved me so many times! have a nice one
So helpful! I had a problem with my game when I was on Udemy and this helped a lot! Thanks for the help!
The best and clearest rundown of how version control works with unity I have ever seen.
Fast, clear and short explanation. Thank You.
You are my favorite youtuber by a margin. Thank you so much!
This video helps a lot, even now in 2022.
I have been trying to do this for a while and your video helped me a lot. Thank you so much!
The gitignore file made my day, thanks so much
Finally found out how to fix Unity GitIgnore. Thank you so much
Although I won’t use this with unity this video really helped me with GitHub
Missing this man
I found this channel days before the "GOOD BYE" video. Sad to see you go!
Nice, tutorial that i needed right now. And published on my birthday. I guess i'll treat this tuts as gift
So wholesome how happy he is.
Yay thank you guy, you always record your video when I need it!!!
Thanks so much for the video. I was having trouble with the .gitignore file in particular, and this really helped!
Honestly. I wish I had seen this video before starting my latest project XD
It was so sad to see you leave brother :(
Thanks for the tip to save assets with Force Text (which saves them as YAML) -- very helpful!
Clicked so fast I almost made my own game without the help of brackeys!
Thanks Brackeys!
thanks, the part where you are explaining the git ignore is priceless.
Thank you for the better .gitignore! I always wondered why the default one was leaving in so much garbage
Personaly. I keep the asset and project setting folder right in the there instead of a folder inside the repo.
you deserve 10 million subs u helped me so much
This video is exactly what I was looking for. Thanks man!
Thanks for everything
Plain and simple, as always. Thank you very much!
thank this help me a lot to move the proyect one pc to another, ty dude!
Nice video. Could you do a second one with best practices on how to manage large files eg. 3d models? You don't want them updating all the time and taking up lots of space. Some users use a separate hub for those big files?
How do I get visual studio to work with my local and remote repositories? It asks me to add version control and when i click to add , it's only offering to add. Also as it turns out my working project root is different from my local repo. One option would be to manually make commits.. and somehow turn off the offer to version control in VS. Or maybe I will start over and make my root of the project in the local repo.
I'm not gay but I feel gay with this guy
🤨
If i understand correctly at 1:27 if you choose free plan then anyone can see and pull your work but can't make changes to it, but they can still stole it?
You are a life saver even in 2024
Thanks a stack! Very useful and well presented video as usual 😃
Such a good a video, version control is so important
If Github Desktop isn't to anyone's fancy, I HIGHLY recommend Gitkraken.
Thank you very much for your videos, the one you provide is such a valuable service!
Amazing video. Direct and easily understandable. Thank you very much.
Thanks very much. Your videos are always concise and helpful!!
Brackeys' empty project: 164 changed files
My project: 22517 changed files
lmao
I was just wondering why mine says 3766 files, you made me feel a bit better at least haha
@@CustardCream33 haha. Well, bigger projects have a lot of files so it's completely fine.
@@telecomanda ah I see, I assumed you created a new project too and something went tragically wrong aha
@@CustardCream33 ah, no. I added my already existent project to GitHub (for backup and collaboration with my friend) so yeah, that's why it has a lot of files.
4:23 how does he make the folder list look like that?
Side note for people using Unity and Blender. If you do what Brackeys did, but you're using filename.BLEND instead of filename.FBX - you are going to be the only one seeing the model, your teammates won't. We had a Blender file that had all assets for the level that I was using. When other people pulled the project, they could only see the character and one model (it was in FBX format). Took us couple of days, damn.
is this because of his gitignore, or just a small bug in git? :-) Did you switch to using only fbx?
That because your ppl need to have blender installed on their PCs .
Unity open blender on the background to convert the model to fbx .
Thanks for da help👍
That's one nice and useful video!!
Yet I have some questions: I'm working in a project that has quite a few downloaded assets from the Asset Store. Do I have to push them all to my repository? Isn't it possible to just push some kind of reference so that Unity knows what to download and import from the Asset Store when starting a cloned repo?