Differences for a certain folder between git branches

Wazery picture Wazery · Aug 25, 2012 · Viewed 59k times · Source

As in the title, I want to have a diff file for a certain folder between the master branch and a branch I have created.

Answer

jolivier picture jolivier · Aug 25, 2012

You can use

git diff master..yourbranch path/to/folder