I’m trying to publish a project that my class is working on. Unfortunately, no method of in-engine source control is working. I must be doing something wrong, but, after reading every tutorial available I can’t figure out what mistake I’m making.
I’m using 4.7.4, so, according to the walkthrough, it’s just as simple as clicking connect to source control, choosing git, and then clicking accept. At this point I receive an error “Cannot connect to source control, check your settings and connection and try again.” I have no idea what settings this refers to, so, I’m not sure where to look. Connection is fine for everything else.
I tried using my school’s SVN server and I get the same issue. I’ve read the documentation for source control but I don’t see any hints. I appreciate any replies.
I appreciate your reply, unfortunately running git init in gitshell (my global user.name and user.email were set when I did this as well) did not resolve my problem. I thought the problem might have been with my machine, so, I tried a different machine on the same local network but I ran into the same problems.
My machine runs Windows 7 64bit. Here’s the log when I try to connect:
LogSourceControl: RunCommandInternalRaw: 'git version'
LogSourceControl: RunCommandInternalRaw: ExecProcess ReturnCode=2 OutResults=''
SourceControl:Error: Error Failed to connect to source control. Check your settings and connection then try again.
SourceControl: Info Source control is disabled
When I saw that no version was being returned I realized I did not have the actual git binaries installed on these machines, just github’s interface with gitshell. My mistake! I had never actually used git for source control, just cloning projects and sharing some code with friends. Thanks so much for your time, everything is working now!
Yes, correct! So for the next version UE4.8 I have added auto-detection of Git binaries shipped with “GitHub for Windows”, but also with SourceTree and SmartGit