Reputation: 1445
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.
Upvotes: 6
Views: 1466
Reputation: 1
git --diff --numstat branch1..branch2 -- '*.cs'
This command will give you the summary of changes between 2 branches.
Upvotes: 0