git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git files from another branch in a separate repository

From
SHScott Haynes <scottnc27603@gmail.com>
Date
Mar 12, 2013, 02:22 UTC
Message-ID
<00DCB4A6-DBB3-4B9B-94ED-EA8792769C05@gmail.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

Message 1 of 1 in “git files from another branch in a separate repository”
  1. Scott HaynesMar 12, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.