每个文件夹生成.gitignore后再上传至服务端 方法: GIT BUSH HERE>输入find . -type d -empty -exec touch {}/.gitignore \; 没有出现clone等选项,按shift