Skip to content

Instantly share code, notes, and snippets.

@bandicoot86
Created July 20, 2013 11:43
Show Gist options
  • Save bandicoot86/6044742 to your computer and use it in GitHub Desktop.
Save bandicoot86/6044742 to your computer and use it in GitHub Desktop.
Remove the file mentioned and clean up the history of it.
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch src/main/resources/links.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