Skip to content

Instantly share code, notes, and snippets.

@arifemre
Created February 11, 2019 07:16
Show Gist options
  • Save arifemre/e9e2f3d8019a2b40f1505c572fccea64 to your computer and use it in GitHub Desktop.
Save arifemre/e9e2f3d8019a2b40f1505c572fccea64 to your computer and use it in GitHub Desktop.
jetbrains ide dosyalarını git geçmişten kaldırmak
git filter-branch --tree-filter 'rm -rf .idea' --prune-empty HEAD
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d
echo .idea/ >> .gitignore
git add .gitignore
git commit -m 'jetbrains ide dosyalari gecmisten silindi'
git gc
git push origin master --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment