Last active
December 24, 2017 17:46
-
-
Save JoshuaCurry/afb2dca2bfa7bff2daba51a35eb7ce3a to your computer and use it in GitHub Desktop.
Remove .DS_Store and ._thing files macs make from git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --tree-filter 'find . -name "._*" -delete' -f HEAD | |
git filter-branch --tree-filter 'find . -name ".DS_Store" -delete' -f HEAD | |
# And now do git push --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment