I'm very new and having a hard time. I tried to implement the solution linked below, but it didn't fix my problem and seems to have really wrecked my repo. I'm not even sure how to describe it, but I'll try.
- I was having trouble pushing to git because of large files.
- I installed git lfs
- The original repo (from a class I'm in) didn't seem set up to receive git lfs configurations, so I cloned a new repo from my original
- The problem continued, but I kept making commits without pushing, and eventually manually deleted the file
I still couldn't push, so I looked up this solution: Can't push to GitHub because of large file which I already deleted. I saw too late that the first solution was a seriously destructive process.
After this it gets really messy with different numbers of commits between my two repos and "tip of current branch behind its remote counterpart"
It seems like I've really destroyed my repo. I can't open my older work, and I can't push my newer work. What can I do? I've been working on this project for a few weeks and I would really hate to lose it.
Let me know if I can share more detail. Thanks for your help!