# 设置默认分支
git config --global init.defaultBranch master
# 空目录保持
# Ignore everything in this directory
*
# Except this file
!.gitignore
# 罗列发生过修改的文件
git diff --name-only START_COMMIT..END_COMMIT
# 去重
git show --pretty="format:" --name-only START_COMMIT..END_COMMIT | sort | uniq