Mac-SourceTree空文件夹提交

git默认是忽略空文件夹。在对应文件夹内创建.gitkeep即可

创建.gitkeep文件方法:

打开终端,cd到你要提交的空文件夹内。

然后执行:touch .gitkeep即可。

你可能感兴趣的:(Mac-SourceTree空文件夹提交)