Git

Here are some files I probably have recommended you to use for your Git repository. They are sane defaults for a Godot project. Elsewise they are helpers for myself, so I know where I can find them.

.gitignore

These are files which never should be added to the repository.

This will keep the repository clean and avoid accidental commits of files which should not be in the repository.

.gitattributes

This file is used to tell Git how to handle certain files.

We use it mainly for Git-LFS (Large File Storage) to handle large files.

Very important: You have to execute this command to enable Git-LFS:

git lfs install
git config lfs.locksverify false

Without it you will get error messages.

.lfsconfig

This file is used to tell Git-LFS where to store the large files.

Very important: If the URL is https://git-lfs.nofunallworkgames.fyi/api/general/changeme then general should be changed to the repository owner name (i.e. nofunallworkgames) and changeme should be changed to the repository name (i.e. my-game).

config

While the other files go directly into the root directory, this one goes into the .git directory. So the path would be .git/config.

Don't forget to enter your own email and name.

If you are not sure how to do, you can do it from the command line from within the repository root directory.

Very important:

git config user.email "your@email.com"
git config user.name "Your Name"

The GPG signing key is optional. And I actually recommend to not use it as it's just for showing off.