How to Setup a Gitignore File for a Godot Git Project
Max O'Didily
How to Setup a Gitignore File for a Godot Git Project
Greetings, in this Godot Git tutorial we shall be looking at how to setup a gitignore file for your Godot project. This is a super quick tutorial and we will be using the gitignore that is the default option Github provides. You can customise this gitignore to suit the needs of your project.
Here is a tutorial on how to setup your Godot project with git version control using github desktop: https://www.youtube.com/watch?v=6nG71kB1EvM
To create a gitignore file, we need to go to our Godot project that we have setup with git. Then we need to make a file, this file will have no name and will have the .gitignore file extension.
COPY THIS IF YOU DON'T WANT TO TYPE THE Git Ignore: .gitignore
Once we have the gitignore created, we need to add some text to the file.
HERE IS WHERE YOU CAN FIND THE TEXT FOR THE GITIGNORE: https://github.com/github/gitignore/blob/main/Godot.gitignore
You can open the gitignore using any text editor. Then paste the text into the gitignore file. After that, save the file and voila, the gitignore will tell this git repo to ingore certain files. These files don't need to be pushed and pulled by git as they are either temp files or files Godot will generate locally.
Also make sure the gitignore is in the root of the project directory. If you are unsure what that means, put the gitignore where I put in in this Godot github tutorial.
Thanks for watching this tutorial on how to setup a gitignore file for a Godot Git project.
This will work for any git project, you don't have to use github desktop!
If you found this tutorial on how to create a gitignore file for a Godot project, then be sure to subscribe to keep notified when I upload.
How to Setup a Gitignore File for a Godot Git Project
This Gitingore tutorial should help answer the following questions:
How to Ignore Git Folders and Directories .gitignore How to use GitHub with Godot How to use Godot with Git and .gitignore How to make a Godot gitignore How to add a gitignore to your Godot game How to make a gitignore for Godot How to properly upload your Godot project to Github repository (.gittignore, .gittaributes) How to use GitHub and Godot How to make a .gitignore for Godot Projects What is the best gitignore for Godot now Using GitHub with Godot How to set up a .gitignore file for Godot How to setup a .gitignore file for Godot How to set up .gitignore file for Godot How to add a Gitignore for Godot How to add a Gitignore for a Godot git project How to set up .gitignore properly for Godot 2D How to set up .gitignore properly for Godot 3D ... https://www.youtube.com/watch?v=4p1nC-kanAw
6288516 Bytes