Knowledge Drop

GIT - Find differences between 2 branches

Userlevel 3

Last tested: Jan 21, 2019

If you have access to the git repo on command line, you can use `git diff`. The syntax looks like this:

git diff <branch 1>..<branch 2>


git diff prod..other_branch


This is useful when trying to find out what's different between your dev mode and production.


This content is subject to limited support.                



0 replies

Be the first to reply!