# git files from another branch in a separate repository

1 messages from 2013-03-12 to 2013-03-12. Participants: Scott Haynes.
Thread: https://gitlist.dev/t/33160

## Scott Haynes, 2013-03-12 02:22

Subject: git files from another branch in a separate repository
Message-ID: <00DCB4A6-DBB3-4B9B-94ED-EA8792769C05@gmail.com>
URL: https://gitlist.dev/e/00DCB4A6-DBB3-4B9B-94ED-EA8792769C05%40gmail.com

```
I'm currently working on a git project( vwf - virtualworldframework ), and we need to get a couple of files from another repository( threes ).  We've forked threejs into our repository, but I need to be able to grab only those few files that I need.  I thought I wanted to do a sub-tree merge, but after reading about the -tree options, I don't think that is what I need to do.  Do I want to right a hook script to pull in those files?

TIA,
Scott
```
