Skip to content

Instantly share code, notes, and snippets.

@wellington1993
Last active February 20, 2018 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wellington1993/1a76e0ee6451d1b1ba84fd0dfb65fa64 to your computer and use it in GitHub Desktop.
Save wellington1993/1a76e0ee6451d1b1ba84fd0dfb65fa64 to your computer and use it in GitHub Desktop.
Git giant File
git filter-branch --force --index-filter \
'git rm --cached --ignore-unmatch fixtures/11_user_answer.json' \
--prune-empty --tag-name-filter cat -- --all
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch fixtures/11_user_answer.json'
git commit --amend -CHEAD
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment