r/github • u/Just_Ad_5939 • 22m ago
Question A video file I couldn't include in the commits because it was too large, is now gone as of turning on my computer.
I was putting a school project in a github repository so i could sync my laptop and pc and have the same files on both, but the video was too large so every time it would be included i'd have to hit 'discard changes' on that on the github desktop app.
now the issue i'm having is that when I turned on my computer and opened up the files for the project, the video was gone. I have no idea how this happened as.. well it was there last time I had the computer on im pretty sure. or at least last time i was using those files.
The video isn't in my trash either btw. Im also using linux mint.
so.. i had a similar issue yesterday but was able to resolve it by using $ git reset --keep HEAD@{3} but after i got that fixed i ran into issues again because there were other things I still needed in that repo so i pulled again and the video disappeared again i think. so i did it again and then copied the video to make sure it was safe, then i cloned the repo into the thing again, merging all the files together. the video was in there and so i deleted the copy.
...i think it might be because I merged the folder yesterday? did.. did git like.. replace the folder when i turned on my computer today instead of merging the folder? why was git even doing anything @w@
please help. i need that video and have no idea why its gone or where it went.
1
u/OptimusCrimee 10m ago
Yeah, the file is gone.