Hi guys, I am using a git local repository to edit and build the engine for a few months now; And the file has enlarged in size, may be 350.0 GB; I don’t know what exactly I could delete to get rid of this excess(?) size?
start with .pbd files - they are usually the culprits and are only used for debugging (can be recreated by VS)
Seeing it’s a repo, and holds all your past commits, you might consider archiving it and starting another repo if youre running into space issues. Deleting files wont delete the old versions in the repo. There may be a way to delete out a chain of committed files in git to clean up, not sure.
I would be judicious in choosing what files to commit… as RecourseDesign says, pdb files eat up a lot. Generally your entire Binary and Intermediate and maybe Saved folders(depending on needs) should be (git)ignored.
Personally I keep most Art/Sound content out of my main repo and version them using a cloud backup routine to keep checkouts a sane size. Generally my full checkouts are about 275MB doing the above… this may not matter for a local repo. Iirc Git binary commits the entire binary each time, not a diff of the binary, so it’s basically storing the whole thing again for each small change.
Great, thanks guys