Memo / Enable Git Large File Storage on GitHub
05 Apr 2020
Explanation
Git Large File Storage is an extension to replaces binary file with text pointers inside Git repository.
This is a memo of enabling GFS on GitHub,
Environment
Reference
Package installation
Tracking PNG files
We need the following command for the tracking .png files.
We can confirm that now we have “.gitattributes”
There is an entry for “.png” file.
After that, we need to commit these files again.
Then, commit and push the branch.
We see some diagnostic information about .png file upload.
Alternatively, we can use “git lfs migrate” command.
After the command execution, we need to run the following command to remove the pre-existing objects.
Now we can see that our binary file is managed by Git LFS.