Skip to content

Instantly share code, notes, and snippets.

@adfinlay
Created May 11, 2014 09:46
Show Gist options
  • Save adfinlay/e437cf2483205987a97c to your computer and use it in GitHub Desktop.
Save adfinlay/e437cf2483205987a97c to your computer and use it in GitHub Desktop.
Github - remove sensitive information
git filter-branch --index-filter 'git rm --cached --ignore-unmatch path/to/sensitive_file' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment