I’m a first year student at Abertay Uni and very new to forums so apologies if this topic is already floating about.
I’m using VS 2019 and am writing a game for one of my assignments in C++ using the SFML framework.
A few weeks back I tried to push my project to the repo, however I kept getting an error in which it mentioned that the
.pdb file is too large. After a bit of research, I discovered that
.pdb files over 100mb will result in an error when pushed and this can be resolved by ignoring the
However, once I added the
.gitignore and tried to push, I kept getting the same error as before. I then read that you most likely need to clear the cache in the git repo by using a command but needs the file path of the
pdb. Unfortunately, before finding this, the lecturer mentioned that I can delete the
.pdb so I don’t have a file path to enter into the command prompt.
Lastly, I found an option to reset commitments with the choice of either resetting hard or mixed. At this point I had been coding for 3 further days without being able to push to my repo. So when I hit the hard reset, I was in complete and utter shock to find half my code missing and the error still existet.
What I am trying to do, is to get the
.gitignore and remove it from my previous commitment so that I don’t receive this error.
The error I’m receiving is as follows:
Remote: Error: File Coursework/x64/Debug/CMP105App.pdb is 103.79 MB; this exceeds GitHub's file size limit of 100.00 MB ``` As I mentioned before, there is no `.pdb` file to be found. I'm also not looking to using git-lfs as that wouldn't be a valid solution for me. If there is someone who can help with this issue I'd be very grateful. Thanks, Jan