02 | Configure Git LFS Source Control with Unreal Engine

Поділитися
Вставка
  • Опубліковано 20 жов 2024
  • In this second part of this series we create a base folder structure and setup our project to have git source control enabled using LFS.
    Unreal Git Ignore File
    raw.githubuser...
    Unreal Git LFS
    gist.github.co...

КОМЕНТАРІ • 15

  • @Maxparata
    @Maxparata 4 місяці тому

    I have problems uploading files more than 100Mb.
    I hit the "Publish" button in git desktop, it starts to upload normally, and at some point some popup window appear saying :
    "The push operation includes a file which exceeds GitHub's file size restriction of 100MB. Please remove the file from history and try again."
    I bought a $5 GitLFS pack data, but nothing changed. Anyone could help please?

  • @MaliciosaGameDev3D
    @MaliciosaGameDev3D 6 місяців тому

    Thanks for that, it is really helpfull as devops

  • @carlosjaudio
    @carlosjaudio Рік тому

    Thank you very much for the info!

  • @CasalGamerGG
    @CasalGamerGG 2 роки тому +2

    It has been a hell trying to use git with large project 50GB+. There is always some random error there is no workaround happening. Followed Your ignore and attributes and things work fine for some time then all of sudden, BAM, I have to delete git repository and everything together, thank god I'm in the beginning of the project.

    • @CasalGamerGG
      @CasalGamerGG 2 роки тому

      Just an update here, the solutions was trying to separate I to multiple repositories using sub-modules.

  • @ReenoMoon
    @ReenoMoon Рік тому +1

    # Unreal Engine file types.
    *.uasset filter=lfs diff=lfs merge=lfs -text
    *.umap filter=lfs diff=lfs merge=lfs -text
    # Raw Content file types.
    *.fbx filter=lfs diff=lfs merge=lfs -text
    *.3ds filter=lfs diff=lfs merge=lfs -text
    *.psd filter=lfs diff=lfs merge=lfs -text
    *.png filter=lfs diff=lfs merge=lfs -text
    *.mp3 filter=lfs diff=lfs merge=lfs -text
    *.wav filter=lfs diff=lfs merge=lfs -text
    *.xcf filter=lfs diff=lfs merge=lfs -text
    *.jpg filter=lfs diff=lfs merge=lfs -text

  • @agj383
    @agj383 3 роки тому

    Hi, thanks for these tutorials.
    If we don't have the source art files in the same directory that gets pushed to the online repo, what happens when we push the .uasset versions?
    For instance, I have a .png image on my local hardrive. I import it into Unreal. Unreal converts to .uasset. Then I push that Unreal project to githup repo.
    If I pull, or download an archive later from the repo, is that actual source file available? Or will I only have a pointer to where it should exist on my local disk?

    • @trashart
      @trashart  3 роки тому +2

      If you end up deleting the source file and pull down the repository at a later date the project will still work and have the file from your last import via the .uasset file.
      It will still point to a file reference of where you imported it from so will prompt you to find that asset if you were ever wanting to re-import it.
      You could in theory right click on a .uasset and try the export action to get a source version back if you lost the original.
      Typically the structure mentioned in the video where all source assets live in an Art folder pushed to LFS just means you and any team get consistent source art files from source control.
      Another option is to have art source files perhaps live on a shared central NAS somewhere. All depends on a preferred workflow managing your source art assets.
      Stay safe and hope this helps. Glad you found the videos thus far useful.

    • @agj383
      @agj383 3 роки тому

      @@trashart thanks!

  • @umairjamshaid-t4y
    @umairjamshaid-t4y 9 місяців тому

    Uassets get corrupted if there is a conflict in them when merging. This is a common issue with UE and Git LFS

  • @Qwiggalo
    @Qwiggalo Рік тому +1

    I had to do: git commit -m "init"
    before I could do git branch -m main

  • @ColeWithAGoal
    @ColeWithAGoal 2 роки тому

    Cheers Trashart!

  • @kunalsathe9075
    @kunalsathe9075 3 роки тому

    I am getting this error : failed to push some refs