Git development
 help / color / mirror / Atom feed
From: Tay Ray Chuan <rctay89@gmail.com>
To: Zhi Li <lizhi1215@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: how can I push a sub-tree
Date: Thu, 17 Dec 2009 18:14:00 +0800	[thread overview]
Message-ID: <be6fef0d0912170214u433769e3ucf8180022aa72fb3@mail.gmail.com> (raw)
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

  reply	other threads:[~2009-12-17 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17  9:50 how can I push a sub-tree Zhi Li
2009-12-17 10:14 ` Tay Ray Chuan [this message]
2009-12-18  0:55   ` Zhi Li
2009-12-18  2:05     ` Zhi Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be6fef0d0912170214u433769e3ucf8180022aa72fb3@mail.gmail.com \
    --to=rctay89@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=lizhi1215@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox