Hi Folks,
Yes! I'm back with an interesting blog Git LFS- An file storage system by git (basically to store large files above 100Mb)
A small back story How I came to know about this!
Recently my colleague asked me Have you ever worked in git Lfs ? I just ignored him like this and get back to my work
Yes! it throws the error Files with larger size should be tracked through LFS,
In my case, I gonna initiate new repo and some dummy files with 200Mb size
Step-2: We need to tell git which type of files or which files needed to be tracked to LFS. The below command will create
.gitattributesfile contains a list of tracked files
git lfs track "*.csv"
Step -5 : Let's push use the command to push the large file First
git lfs push --all origin <branch>
Tada, it's all done!
Points to remember!
- Make sure the file format is correct and not corrupted
- Files above 100 MB should be added via Git LFS below that we can add through regular git actions
Thanks, @iamadhee (Lol! he is the colleague I ignored)
Thanks! folks Thanks for reading
Let me know your experience in comment section after using git LFS and the struggles you faced, I will try to post the fix :)
SOCIAL SHARE CARD GENERATOR