Created
August 13, 2016 13:35
-
-
Save sbtk44/e93f782d6f03ee46acc640e8d5e5972b to your computer and use it in GitHub Desktop.
git addしてないuntrackedファイルを一括削除。git cleanだとignoreファイルまで削除されるので
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
| git status | grep '\t' | awk '{print $1}' | xargs rm -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment