Skip to content

Instantly share code, notes, and snippets.

@MohammadxAli
Last active June 1, 2022 15:37
Show Gist options
  • Save MohammadxAli/f94406bb088c93936bfbd4e7a418f4ed to your computer and use it in GitHub Desktop.
Save MohammadxAli/f94406bb088c93936bfbd4e7a418f4ed to your computer and use it in GitHub Desktop.
Remove a big file wrongly committed
git filter-branch --tree-filter 'rm -rf path/to/your/file' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment