Created
July 18, 2015 22:45
-
-
Save narqo/38f8f90c704c99441acc to your computer and use it in GitHub Desktop.
git distclean custom subcommand
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/sh | |
git reset --hard && git ls-files -o --directory -X ~/.gitignore | xargs rm -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment