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

Re: how can I push a sub-tree

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Dec 17, 2009, 10:14 UTC
Message-ID
<be6fef0d0912170214u433769e3ucf8180022aa72fb3@mail.gmail.com>
In-Reply-To
<2986b3940912170150o17118a07i8f91e785c08e2ac9@mail.gmail.com>
Hi,
On Thu, Dec 17, 2009 at 5:50 PM, Zhi Li <lizhi1215@gmail.com> wrote:
> I tried to find a way to push a sub-tree. In section 6.7 of "Pro Git",
> there's a way for pulling a git sub-tree. But I have not found the
> opposite: push a git sub-tree. Can someone help me?
I've not read the book, but perhaps you mean submodules?

If so, refer to the part in the git submodule tutorial that describes how to make changes within a submodule on the GitWiki at http://git.or.cz/gitwiki/GitSubmoduleTutorial.

-- 
Cheers,
Ray Chuan
Previous: Zhi LiNext: Zhi Li
Message 2 of 4 in “how can I push a sub-tree”
  1. Zhi LiDec 17, 2009
  2. Tay Ray ChuanDec 17, 2009
  3. Zhi LiDec 18, 2009
  4. Zhi LiDec 18, 2009

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.