Git Clean Shortcuts

I added these git clean short-cut aliases to my config.

[alias]
   cls = clean -x -n -e *.iml -e .idea
   cl = clean -x -f -e *.iml -e .idea

Often, I would mistakenly delete my IntelliJ idea files and I will loose the various customizations I had done. This setup will prevent the mishap from happening again.

Comments

Comments powered by Disqus