Skip Navigation

Recommended git setup for Unreal projects?

Hey folks!

I'm fairly new to Unreal, let alone setting up an Unreal 5 project on version control for a team. We use Git for our version control, so obviously we gotta make sure we have certain things filled out in our .gitignore and .gitattributes (for Git LFS).

What do you normally have filled out in your ignore and attributes files for a typical Unreal 5 project?

Thanks!

10

You're viewing a single thread.

10 comments
  • I know next to nothing about game dev, but I thought it was pretty much unheard of to use git for game dev. I thought almost every game dev company uses perforce.

    • Git has a plugin very commonly used now called Git LFS (Large File Support) that resolves the issues with using large, binary files. I've used it for years on Unity projects, and it works really well!

      BUT! Before you start committing a ton of files, you need to tell your git repo (via a .gitattributes) which file extensions or specific files you want to be placed in the Large File storage versus the regular git repo.

      • Yeah I've used Git LFS before, but have also read (on reddit, so not sure I'd be able to link it), that Git LFS doesn't work very well for the kinds of binary files you deal with in game dev. Anyway, I'm not a game dev, so don't listen to me lol

10 comments