I have started to use git branching
more heavily in recent months and also make it a point to have small and well
documented commits. This sometimes leads to the need to merge specific files
from one branch into another (good or bad, it just happens). Git facilitates
this with checkout
:
1
|
|
If you do not provide the commit sha it will simply checkout the file at the HEAD of the source branch.