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!

  • snowe@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    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.

    • Brody Brooks@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        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