I just pushed a bunch of stupid sourcemap files with extension
.map
If you are on a unix-like system (Linux or MacOS), you can use the find command, like so:
find . -type f -name "*.map" | xargs git rm
This will delete all the map files and stage the deletions for a commit.
You can then go ahead and do a git commit and a git push.