I am facing troubles with my GitHub local repository.
This is what happened:
- I wanted to upload a video. So I committed and pushed using Bash.
- Because the video was bigger than 100 Mo, I got an error message.
- I deleted it, and replaced it with a smaller video (34 Mo).
- Already the same issue, nothing was committed (even .HTML files).
- So I tried git LFS for all MP4 files.
- Bingo, I was able to commit and to push.
- All videos from my GitHub page disappeared.
My questions are:
Is there a solution to bring all videos back with a line code?
I saved my local repository 1 week ago on my USB key. Can I just delete the corrupted .git local folder on my computer and paste the .git USB backup, then commit and push?
Sorry for my English and my poor level with git.
Thanks in advance.