I followed the project manual on setting up git and project.
I have a remote github repository, I have git installed, I have git desktop installed, I have cloned the remote repository locally, I can push and pull from the repository using git desktop.
I load my project from the locally cloned repository and Defold cannot see that I am using git.
Is there a file or folder or program setting Defold requires I am skipping. Ive spent days reading every post I can about git in the forums and it seems for most people it just works.
As long as the .git
folder is in the same folder as the game.project
, there shouldn’t be anything specific to do no.
Doesn’t Defold show any changed files for you (e.g. after changing the project title in game.project) (in the bottom left corner):
No it does not display changed files.
C:\Users\jbska>git --version
git version 2.28.0.windows.1
C:\Users\jbska>
Screen shot of local git repository and the popup on Defold:
As long as the .git
folder is in the same folder as the game.project
In your last screenshot there is no game.project next to the .git folder (which I believe is a current constraint).
Thank you I have it setup now. Reorganized my directory and Now I understand that it is the .git directory inside of project folder Defold was looking for.

1 Like