branch
- 清理无效的 remote 分支
git remote update origin --prune
log
- 查看被删除的文件的历史:
git log --all --full-history -- "**/thefile.*"
diff
- diff 时忽略行尾换行符
git diff --ignore-space-at-eol
git diff --ignore-space-change
git remote update origin --prune
git log --all --full-history -- "**/thefile.*"
git diff --ignore-space-at-eol
git diff --ignore-space-change