What does "Submit to Source Control" add to version control?

anonymous_user_bff5939d
Thu, 09 Nov 2017 00:24:46 +0000
Pipeline & Plugins

I am experimenting with the “source control” feature and I do not understand what it actually does. I have tested it with both the SVN and Git plugins and I have read this document. It doesn’t seem to work with most files.

After “connecting to source control”, I can “submit to source control” and this automatically lists certain files. The files it lists get added to the svn/git repo and committed. It seems to add/commit these files:

uproject files

map files

map “BuiltData.uasset” files

However, in my tests, these files are not added:

Blueprint files

C++ files created with “Add New->C++ File” or add component “New C++ component”.

It seems that if I use source control through the “source control” button in the editor, critical files will be left out.

Is the feature supposed to work this way, or is something wrong? And if this is how the feature is supposed to work, then what is the point of the feature (since I apparently need to be doing additional operations with the command line vcs tool in order to preserve all Unreal-created files)? I had hoped that by using the builtin “Source Control” it would automatically add for me the files that were important and leave out the files that were not (like temporary files or the Visual Studio files). I do see that there are “answers” on this site describing how to configure a gitignore, but that seems error-prone and if possible I’d prefer Unreal to manage this for me.

4 posts - 1 participant