Which source control manager to use?

Hi guys,

I havent realized that there is a built in git manager in UE4. Which one shall I use built in or external like sourcetree?
Whats the diffrence? Do C++ files get stored?

Have a nice evening

282187-captureasfa.png

1 Like

It depends on which one do you have.
This work with editor and it’s content.

Visual studio can do it without editor.

Whatever you gonna use you need to install Git:

https://git-scm.com/

UE4 only supports integration with content asset, it will also remind you about commuting changes. Git at is core is offline and decentralized, regardless if you gonna use hosting service for your repository it work the same on your computer, you simply gonna push commits you make to remote server. Lot of hosting site gives there own git installation package specially for them, but in reality any git will work with anything.

Since git is offline at it’s core you don’t need hosting server at all, you only needed if you cooperate with other people (regardless of popular thought, most basic function of source control is version back-uping and branching and it’s useful solo). If you work with others then you can think about hosting. But again regardless what you gonna do, you gonna use the same things with same tools.

Now there issues with using Git with UE4, raw Git is not good with versioning binary files and keeps full copies of files everytime you make a commit, which makes repo grow in size very quick. Or else you gonna use git only for C++ source codem you will probably need ot use Git LFS for assets:

Lot of people working with UE4 use Perforce, not only because it deals with bineries in better way, but also because it’s a solution used by Epic and there for UE4 got a lot better integration for it then git. Problem is it’s a commercial product that you need to pay or used limited version (only server, client it self is free), also it’s not offline so you need to host server and because it’s commercial product there practically no free hosting services for it like GitHub or BitBucket for Git. If you interested i recommend Assebla for Perforce.