Difference between revisions of "Git diff"

From NovaOrdis Knowledge Base
Jump to: navigation, search
(Created page with "=Internal= * Git Commands =Overview= =Differences between Two Branches= <syntaxhighlight lang='bash'> git diff develop..task/m...")
 
(Differences between Two Branches)
 
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:

Latest 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 .