Skip to content

Instantly share code, notes, and snippets.

@citizen428
Created July 9, 2018 04:00
Show Gist options
  • Save citizen428/cb43bf997ec25739857b805ed738f693 to your computer and use it in GitHub Desktop.
Save citizen428/cb43bf997ec25739857b805ed738f693 to your computer and use it in GitHub Desktop.
git filter-branch --force --index-filter \
'git rm --cached --ignore-unmatch secrets.txt' \
--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