How to count lines of changes between two branches in SourceTree? [duplicate]
Asked Answered
V

1

6

I have been trying to see if we have any command which can give me lines of changed in Sourcetree between two branches.

This command:

command - git diff --stat branch1..branch2 -- '*.cs'

gives me the files changed along with Insert & Delete lines. With any modified entry, Sourcetree treats as deletion and insertion so the command above doesn't help.

Any help will be appreciated.

Valparaiso answered 25/3, 2015 at 7:10 Comment(0)
I
0
git --diff --numstat branch1..branch2 -- '*.cs'

This command will give you the summary of changes between 2 branches.

Incompetence answered 4/8 at 12:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.