On Mon, 5 Sep 2016 23:53:49 -0700 (PDT)
hellboy <pbon...@gmail.com> wrote:

> I am looking for the simplest way to copy file from one git repo to
> another one on Windows platform (may be with Mingw) or in Webstorm.

No, there's no direct way to do that.  This mostly stems from the fact
Git repositories do not maintain per-file (and per-directory, too,
FWIW) history lines -- the history is maintained for the whole project;
the fact any two adjacent commits might "contain" the same file is pure
coincidence from the Git's point of view.

If you're still confident you need this, you will need to tinker with
`git filter-branch` to take a branch of interest and "filter" it to
produce another series of commits which will only contain the changes
pertaining to that single file.  Beware that this is not at all simple.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to