Large files need to be stored using Git LFS (large file storage) #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So GIT is intended for tracking text / source code changes.
Assets like Images, Meshes, Audio files, and etc are binary blobs: they do not benefit from the functions GIT provides and keeping them in GIT repository directly simply bloats the repository unnecessarily and makes pushes/pulls less efficient.
But GIT does support these kinds of files via "git lfs"; lfs stands for "large file support." Basically it will keep these files "in the repository" but separate from the rest of the text files to handle them more efficiently.
I will need to make some breaking changes to the repository in order to clean up revision history:
.gitattributesincluding uppercase versions of the file name.Alright. Now I just need capnhop to update his copy of the repo... just for reference these are the steps:
In a terminal move into the directory where you keep your projects... for instance if you keep it on the desktop do:
cd DesktopThen we need to re-clone a clean version of the repository:
git clone https://git.ufp.institute/capnhop/Brachistochrone.git Brachistochrone-cleanThen move into that new repository with another cd:
cd Brachistochrone-cleanLast you need to pull the "large files", I believe in the future this should happen automatically, but the first time is an extra step:
git lfs pullDo not delete your previous copy of the project yet!!!!
Keep that around for a while until we make sure everything was moved over properly.
If you realize something is missing, copy it from your old copy to the "clean" copy.
Make sure to COMMIT that to the repository and push it up to the server so we can all have it. :D
Maybe wait at least a month before deleting the original just to be safe?
I did not preform the hard reset correctly, I believe I inputd steps to clone but don't show a cloned project in godot and now cant pull, getting an error show in discord messages
possibly solved pending verification