GitHub Desktop keeps pushing changes from the .godot\editor folder

Godot Version

4.2.2.stable

Question

I recently started a project with a friend and on my end, when I’m pushing to every branch, different changes keep popping up in the editor folder every time I make change in the project.

GitHubError

On top of that, the last 3 to the actual project keep popping up with the .cfg changes.
I tried to put the .godot folder in gitignore but it doesn’t seem to work.

Hello,

in project folder, you should add .gitignore file with .godot/ line inside.

This path will not included into commits.

More about .gitignore file
https://git-scm.com/docs/gitignore

Show your .gitignore file.

1 Like

If a file was already committed to the repository before being added to .gitignore, it will not be automatically removed. To remove them from the repo and stop git from tracking them, use git rm --cached -r .godot/

1 Like

Thanks! We followed your advice and the problem is resolved although some changes keep lingering in the project(the last three in the screenshot I posted)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.