Elliot Blackburn
Elliot Blackburn

Reputation: 4164

Push after filter-branch --index-filter?

I've just run:

git filter-branch --indexfilter 'git rm -r --cached --ignore-unmatch <file>' --tag-name-filter cat -- --all HEAD

However when I run

git push origin master --force

It's saying "Everything up-to-date".

What am I doing wrong here or have I missed?

Upvotes: 0

Views: 457

Answers (1)

CharlesB
CharlesB

Reputation: 90406

It means that your filter-branch hasn't modified anything, so there's nothing new to push.

Upvotes: 1

Related Questions