✅ How to completely cancel a git push?
Disclaimer:
I'm very new to Git (learning it since yesterday)
Background:
I have a private remote repo on Github. After I pushed my code there, I decided to also push some assets (small .ppm and .txt files). And here's main problem: in one of my asset folders I have a really big .ppm file (77 MB) about which I've completely forgot. I don't want it in my remote repo, because it's currently unused and sending it to Github can consume some of my precious internet bandwidth.
Problem:
I don't know, how to completely cancel this push. It stops after pressing CTRL+C or closing the terminal, but when I do
I'm very new to Git (learning it since yesterday)
Background:
I have a private remote repo on Github. After I pushed my code there, I decided to also push some assets (small .ppm and .txt files). And here's main problem: in one of my asset folders I have a really big .ppm file (77 MB) about which I've completely forgot. I don't want it in my remote repo, because it's currently unused and sending it to Github can consume some of my precious internet bandwidth.
Problem:
I don't know, how to completely cancel this push. It stops after pressing CTRL+C or closing the terminal, but when I do
git push again, it restarts. It's really slow and also consumes my RAM and CPU, which is really inconvenient.