I've made changes in a project in Visual Studio and committed them. It's connected to my GitHub repository. Now, I haven't pushed it, because it won't work. After further investigation, I found that I accidentally added a huge file in my commit, which Visual Studio now tries to push up to my GitHub Repo. But since it's such a huge file, it won't be uploaded and I dont know how to delete it from that commit.
So I would like to know: How to access and modify/delete files from a non-pushed commit in Visual Studio?
And if that is not an option, how should I proceed otherwise? I already made more changes in the project, so I maybe have to do a rebase or something?
I found other threads, but those we're about changing the message, not the files themself, or they were about an already pushed commit.
Any help is appreciated!