0 votes

So I am very new to github and I want to be able get the files from my project. Which I thought I knew how to do (git clone) but it brings over all of the repository, when all I want it the project folder. Is there a way to get just the project folder or maybe a way to set the projects resources to the repository. Thank you.

asked Jul 22 in Engine by stevepetoskey (46 points)

1 Answer

0 votes

Generally speaking, the way to use git is to clone the entire repository. Based on the limited information you provided, I would recommend you have a separate git repository for this project. One repo per project or large portion of a project is fairly standard. It is not uncommon for a project to have a separate repo for the back-end server, the website, the game itself, and so on.

If the root of your question is about preventing git from storing/noticing changes in certain files, you can control that with a .gitignore file.

Technical docs:
https://git-scm.com/docs/gitignore#_examples

Simple tool to get you started (enter Godot):
https://www.toptal.com/developers/gitignore

answered Jul 22 by JimArtificer (852 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.