Difference between revisions of "How to do git tricks"

From openwfm
Jump to navigation Jump to search
m (Jmandel moved page How to git tricks to How to do git tricks)
Line 5: Line 5:
 
</pre>
 
</pre>
 
How to link to such comparison view on github?
 
How to link to such comparison view on github?
 +
 +
==Cherry pick commit and update only some files==
 +
?

Revision as of 06:30, 18 January 2019

Comparing files

From https://stackoverflow.com/questions/8131135/git-how-to-diff-two-different-files-in-different-branches

git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt

How to link to such comparison view on github?

Cherry pick commit and update only some files

?