Sitaram Chamarty <sitaramc <at> gmail.com> writes: > > On 2009-02-06, Bisani, Alok <alok.bisani <at> credit-suisse.com> wrote: > > > Is there a way to pull in changes from a branch but only limited > > to a file/files? I ended up doing a manual restore using git-cat-file > ><branch>@{0}:/file. And checked in. > > git checkout branch -- filename > > This is exactly what I was looking for, thank you! I wonder why it is the checkout command which does this, rather than the pull/merge. What is the reason that we cannot pull/merge a specific file from a branch? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html