git - How to delete all commits about a certain file type? -


this follow-up of this question.

brief background: size of remote repository far larger local version caused pushing lot of .pngs later on deleted rm filename; happened on machine don't have access to.

my attempts reduce size failed, made aware of another thread. tried rid of commits images i.e. .png files. used following command:

git filter-branch --tree-filter 'rm -f *.png' head 

however, message:

rewrite 9625aa4ef9368d45b69c605172595322d3da1ea4 (507/507)

warning: ref 'refs/heads/master' unchanged

and size of remote repository still same.

how use correctly? there 1 branch, master branch, in repository.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -