Filename:.gitignore
1 # Ignore everything in this directory
2 *
3 # Except this file
4 !.gitignore
find ./* -type d -empty | xargs -i cp .gitignore {}
如此便可把空的資料夾加入git管控
Filename:.gitignore
1 # Ignore everything in this directory
2 *
3 # Except this file
4 !.gitignore
find ./* -type d -empty | xargs -i cp .gitignore {}
如此便可把空的資料夾加入git管控