Skip to content

Instantly share code, notes, and snippets.

@magohl
Last active January 10, 2019 22:04
Show Gist options
  • Save magohl/24f90f2900f483cfa045ef4218db4d06 to your computer and use it in GitHub Desktop.
Save magohl/24f90f2900f483cfa045ef4218db4d06 to your computer and use it in GitHub Desktop.
Updated gitignore AFTER and need to remove files
git rm -r --cached .
git add .
Ta bort large file efter att den är committad:
git filter-branch --tree-filter 'rm -rf path/to/your/file' HEAD
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment