I'm getting familiar with git and recently made a mistake: from one computer I added lots of big files (100Mb each, 70GB whole), committed them and pushed to the master. Now, I want to pull on another computer (with a smaller hard drive), and I'm stuck.
I cannot completely pull from the remote repository (due to no space on hard drive) but I also cannot free the local git repository of the bloat.
My question is: how can I revert my repository to the state where it does not need that big amount of local hard disk space? (I will delete the files with next push from another computer).