Git is the version control system itself, so it's what keeps track of each version of your code or in other words its history. GitHub on the other hand is a hosting service for Git repositories. It's a service that you can use to put your git repositories online so you have access to all your files online or so you can share it with others and easily collaborate with them.
So git is a middle man between my GoDot and Github right? Does it save my work without me doing these commands to to send to github? I was under the impression Git is doing something in the background to save my work if lets say my power goes out or something. Little confused on what the advantages of Git are.
No, you have the concept reversed. you can use GIT without GitHub, but you cannot use GitHub without GIT. By itself GIT is a tool to allow you to, more or less, safe guard your code from yourself. It allows you to save versions of each of the files in your project in a local repository. say you have a project and you just got it working, you would commit it to your GIT repository and then start working on the next feature of your app. if while you are working on that new feature you mess something up and cannot figure out how to recover you can fetch the last working version of your code from the (local) repository. There is a lot more you can do, like branching, but this is the basics. if you are developing code, you should learn how to use some source control system - it can be a life saver! notice that everything I've said so far is that its all local, so if you have a HD crash you WILL loose your project code - GitHub is the solution for this. GIT has built in capabilities to synchronize your local repositories with a remote copy of the repository. This allows you to 'push' the revisions of your project code out to GItHub for safe keeping. It also make it easier to work with a team working on your project since they can push/pull code changes from GitHub too (note: this can be done without GitHub if you want, but GitHub make this easier). I know this sounds like a lot but using Git and GitHub (or any other source control tool with local & remote storage) will help you keep your code safe from both yourself and hardware failures
hot tip: you can quickly open the terminal in any file by pressing ALT+D with the file open in windows explorer, then typing cmd. it'll open the command prompt right in the folder you're looking at so you don't have to navigate your whole filesystem using cd
Hello Rayuse rp, very interesting video. I don't know your IT background, but if you have knowledge of Linux, a second tutorial would be interesting with an installation on a dedicated Linux Ubuntu server for example. Installing a GitHub wouldn't pose a problem, but what I don't know is if it's possible to directly transfer your project to the server with Godot 4. Do you know if it's possible?
Thanks for the video. I could not find a video on using git with the cli for Unreal Engine so I had to find a Godot specific one instead.
Hi, thank you for the video. Why is git and github in a combination useful? Waht is the difference if I'd just use github?
Git is the version control system itself, so it's what keeps track of each version of your code or in other words its history.
GitHub on the other hand is a hosting service for Git repositories. It's a service that you can use to put your git repositories online so you have access to all your files online or so you can share it with others and easily collaborate with them.
Thanks you, that was very helpful :D
So git is a middle man between my GoDot and Github right? Does it save my work without me doing these commands to to send to github? I was under the impression Git is doing something in the background to save my work if lets say my power goes out or something. Little confused on what the advantages of Git are.
No, you have the concept reversed. you can use GIT without GitHub, but you cannot use GitHub without GIT. By itself GIT is a tool to allow you to, more or less, safe guard your code from yourself. It allows you to save versions of each of the files in your project in a local repository. say you have a project and you just got it working, you would commit it to your GIT repository and then start working on the next feature of your app. if while you are working on that new feature you mess something up and cannot figure out how to recover you can fetch the last working version of your code from the (local) repository. There is a lot more you can do, like branching, but this is the basics. if you are developing code, you should learn how to use some source control system - it can be a life saver! notice that everything I've said so far is that its all local, so if you have a HD crash you WILL loose your project code - GitHub is the solution for this. GIT has built in capabilities to synchronize your local repositories with a remote copy of the repository. This allows you to 'push' the revisions of your project code out to GItHub for safe keeping. It also make it easier to work with a team working on your project since they can push/pull code changes from GitHub too (note: this can be done without GitHub if you want, but GitHub make this easier). I know this sounds like a lot but using Git and GitHub (or any other source control tool with local & remote storage) will help you keep your code safe from both yourself and hardware failures
hot tip: you can quickly open the terminal in any file by pressing ALT+D with the file open in windows explorer, then typing cmd. it'll open the command prompt right in the folder you're looking at so you don't have to navigate your whole filesystem using cd
Hello Rayuse rp, very interesting video.
I don't know your IT background, but if you have knowledge of Linux, a second tutorial would be interesting with an installation on a dedicated Linux Ubuntu server for example.
Installing a GitHub wouldn't pose a problem, but what I don't know is if it's possible to directly transfer your project to the server with Godot 4. Do you know if it's possible?
Missing the most important stuff: how to use it within the editor, see diff etc
got a failed to push error
What do you have to change to use bash instead of cmd
10:01 git remote set-url origin
in case he fucked it up with you too
Could i follow this tutorial with godot 4.1 ?
The tutorial is for Godot 4 and up there should not really be much of a change
Hi, nice video,
i need your help How do I remove the mobile toolbar from godot 3
I tried the fullscreen option and it didn't work
PLEASE DO A TUTORIAL FOR MOBILE TOUCH CONTROLS IN GODOT 4
in the future don't know when tho