Created
November 7, 2012 00:23
-
-
Save nucklearproject/4028653 to your computer and use it in GitHub Desktop.
Revisions
-
nucklearproject revised this gist
Nov 7, 2012 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Recursively add a .gitignore file to all directories # in the working directory which are empty and don't # start with a dot. Helpful for tracking empty dirs # in a git repository. find . -type d -regex ``./[^.].*'' -empty -exec touch {}"/.gitignore" \; -
justinfrench revised this gist
Oct 22, 2008 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,4 @@ # start with a dot. Helpful for tracking empty dirs # in a git repository. for i in $(find . -type d -regex ``./[^.].*'' -empty); do touch $i"/.gitignore"; done; -
justinfrench created this gist
Oct 22, 2008 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # Recursively add a .gitignore file to all directories # in the working directory which are empty and don't # start with a dot. Helpful for tracking empty dirs # in a git repository. for i in $(find . -type d -regex ``./[^.].*'' -empty); do touch $i"/.gitignore"; done;