this post was submitted on 14 Jun 2023
4 points (100.0% liked)

Unreal Engine

448 readers
1 users here now

founded 1 year ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] snowe 3 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] snowe 2 points 1 year ago

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