I tried the command git push origin master
to save my code remotely, but the push failed due to a large video file. I removed the video file and again entered git add -A
, git commit -m "latest"
, and git push origin master
.
The push error I get states that the large file still exists for some reason.
All I want is to push my existing code as is and am okay completely deleting the large file and ignoring previous commits that haven’t been pushed.
Git and CLI are admittedly a black box for me, as I had tried following the myriad of existing answers but found myself in positions where I’d see my code wipe out to an earlier version (which I was luckily able to revert back to).
Any simple step-by-step guide would be greatly appreciated…