git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gabriel Jover <gjover@cells.es>
To: git@vger.kernel.org
Subject: Help using git subtree
Date: Tue, 30 Jul 2013 11:32:22 +0200	[thread overview]
Message-ID: <51F78826.1040502@cells.es> (raw)

Dear all,

I am trying to avoid using git submodules and thus I am testing if git 
subtree fit my needs.
I have a set of sub-projects linked to a main-project.

Git subtree is very convenient to get all the sub-projects into the 
main-project directory tree
and to send back sub-project commits to the corresponding repository.
But I don't understand the work flow very well.

I can add a subtree with a given prefix and pull/push my commits to the 
repository,
but how do I do to pull/push commits from the main-project to the 
corresponding repository
avoiding sub-projects to be sent?

An other question I have is when will be subtree included in git packages.
I had to compile git from sources in order to get this feature.

Sincerely,

G. Jover-Manas

-- 
+----------------------------------------------------+
  Gabriel V. Jover Mañas
  Computing Division
  Cells / Alba Synchrotron  [http:/www.cells.es]
  Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
  E-08290 Cerdanyola del Valles (Barcelona), Spain
  E-mail: gjover@cells.es
  Phone: +34 93 592 4471
  Office: ALBA P0 Of8/18
+----------------------------------------------------+

Si heu rebut aquest correu per error, us informo que pot contenir informació confidencial i privada i que està prohibit el seu ús. Us agrairiem que ho comuniqueu al remitent i l'elimineu. Gràcies.
Si ha recibido este correo por error, le informo de que puede contener información confidencial  y privada y que está prohibido su uso. Le agradeceré que lo comunique a su remitente y lo elimine. Gracias.
If you have received  this e-mail by error, please note that it may contain confidential and private  information, therefore, the use of this information is strictly forbidden. Please inform the sender of the error and delete the information received. Thank you.

             reply	other threads:[~2013-07-30  9:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30  9:32 Gabriel Jover [this message]
2013-07-30  9:58 ` Help using git subtree Fredrik Gustafsson
2013-07-31  6:57   ` Gabriel Jover

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=51F78826.1040502@cells.es \
    --to=gjover@cells.es \
    --cc=git@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).