Hey folks, my question is regarding source control and the file GitDependencies.exe.
We have a repo for the team with UE4 source code and the game project and everyone pulls the repo, builds the engine and all is working fine except for the fact that after every build, the file in question becomes modified and Git sees it as something to be committed. Can anyone provide any details about what this file does exactly? What I understand is that it downloads the binaries required by the engine but why would it get modified by building on a local machine without adding anything or modifying anything in the engine.
That’s a good point actually, I didn’t modify the projects that are built with the solution. So it’s just a matter of excluding the GitDependencies project from building with an engine rebuild?
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)
I simply downloaded the entire git project as zip and copy-pasted the GitDependencies.exe.config and GitDependencies.exe in the original unreal engine cloned directory .\Engine\Binaries\DotNET\. It worked for me.