Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git: Determining merge changes when no conflicts

Tags:

git

git-merge

When we do typical merges (ie: from branch A to B) with conflicts I can see the differences by running:

git status
git difftool --dir-diff --cached 

But if there are no conflicts then these commands don't return any results. We run git push to push the changes to the remote repo (branch B in this example).

What command can you run to see the differences which you just pulled down (and pushed) in this case?

like image 486
Marcus Leon Avatar asked Feb 12 '26 10:02

Marcus Leon


1 Answers

Maybe the git diff command will show what you want.

like image 123
Eduardo Hitek Avatar answered Feb 14 '26 04:02

Eduardo Hitek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!