要找出大文件并创建合适的.gitignore文件,你可以使用以下命令行方法: 1. 查找大文件 查找超过50MB的文件: find . -type f -size +50M | sort -h 查找并显示文件大小: find .