Why is GitDependencies.exe not ignored?

GitDepencies will need to be commited only if you buildGitDepencies in generated solution.
to avoid this (ex. by accident), right click on solution and uncheck building GitDepencies project file.

otherwise, if you already messed up, you can run (in the root of repo)

  1. git clean --force Engine\Binaries\DotNET\GitDepencies.exe
  2. git checkout GitDepencies.exe
  3. .\Setup.bat

and that will restore original GitDepencies file back

if git clean --force Engine\Binaries\DotNET\GitDepencies.exe does not work (surely because GidDependencis is tarcked file) then use

git rm -f Engine\Binaries\DotNET\GitDepencies.exe

references:

  1. Git - git-clean Documentation
  2. When should I use rm, git rm, git rm --cached, git add - Stack Overflow