SyntaxFix
Write A Post
Hire A Developer
Questions
What about using checkout command :
git diff --stat "$branch" git checkout --merge "$branch" "$file" git diff --stat "$branch"