Skip to content

Instantly share code, notes, and snippets.

@eduavila
Created January 14, 2025 13:32
Show Gist options
  • Save eduavila/b34d7d1866170655c71d0ff56c34defe to your computer and use it in GitHub Desktop.
Save eduavila/b34d7d1866170655c71d0ff56c34defe to your computer and use it in GitHub Desktop.
Remover arquivo binário do historico do git

git filter-branch --force --index-filter \
  'git rm --cached --ignore-unmatch path/to/ceo.jpg' \
  --prune-empty --tag-name-filter cat -- --all
  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment