Created
July 2, 2018 09:36
-
-
Save CjS77/2d0621f108466858e7cadf5af7ea428b to your computer and use it in GitHub Desktop.
Add intelliJ files to git/.exclude to avoid polluting .gitignore
This file contains hidden or 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
#!/bin/bash | |
# I stick this in ~/.local/bin (which is part of my path), then simply running `githide` in the project folder | |
# will clean up your git status | |
echo ".DStore" >> .git/info/exclude | |
echo ".idea" >> .git/info/exclude | |
echo "*.iml" >> .git/info/exclude |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment