DEV Community

Discussion on: Git merge specific file from another branch

Collapse
 
lejma profile image
lejma

this works slightly differently than advertised, it does not "merge" a specific file, it "checks out" a specific file, when you have a different version of your file and you actually want to merge those it doesnt work, git checkout branch filename just overrides yours without any prompt to merge differences