Created
March 12, 2014 00:04
-
-
Save JeffHerb/9497790 to your computer and use it in GitHub Desktop.
If you ever have the need to completely remove the contents of a git project folder, but want to retain the .git
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
for i in `ls | grep -v ".git"` ; do rm -rf $i; done; rm .gitignore; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment