gitlab upload an empty folder

GIT tools rely on file to identify the folder, for the empty folder is not recognized. 
Therefore, if a need to increase the empty file in the folder in the code, while the need to add an empty file in the folder .gitkeep 

when empty folder increased bulk, can enter the line at the root of the GIT repository 
find. -Typed-empty- typed-empty -and -not-regex./\.git.*-not-regex./\.git.* -exec touch { } / gitkeep \;. 
this statement may be increased in all .gitkeep empty folders file 
---------------- 
Disclaimer: this article is CSDN blogger "skyplay520 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and this link statement. 
Original link: https: //blog.csdn.net/skyplay520/article/details/79500363

  

Guess you like

Origin www.cnblogs.com/hfultrastrong/p/12515507.html