Joined November 2015
·

mikaël

France
·
·

Posted to Delete All .git Files Under Directory over 1 year ago

You forgot the asterisk :

-name "*.git"</code></pre>

You can even use the -delete option:

find <path_where> -type d -name '*.git' -delete</code></pre>
Achievements
1 Karma
0 Total ProTip Views
Interests & Skills