Git diff: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Git Commands =Overview= =Differences between Two Branches= <syntaxhighlight lang='bash'> git diff develop..task/m...")
 
Line 9: Line 9:
git diff develop..task/my-branch path/to/folder
git diff develop..task/my-branch path/to/folder
</syntaxhighlight>
</syntaxhighlight>
<font color=darkgray>It seems the order in which the branches are specified does not matter.</font>


For the entire repository:
For the entire repository:

Revision as of 19:07, 29 June 2020

Internal

Overview

Differences between Two Branches

git diff develop..task/my-branch path/to/folder

It seems the order in which the branches are specified does not matter.

For the entire repository:

git diff develop..task/my-branch .