GIT - Find differences between 2 branches

Knowledge Drop

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.                

Version history
Last update:
‎05-07-2021 09:48 AM
Updated by: