all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xavier Maillard <xma@gnu.org>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Git repository and branches ?
Date: Fri, 22 Feb 2008 03:00:07 +0100	[thread overview]
Message-ID: <200802220200.m1M207el003444@localhost.localdomain> (raw)
In-Reply-To: <87wsoz9j1b.fsf@catnip.gol.com> (message from Miles Bader on Thu,  21 Feb 2008 10:48:16 +0900)


   Xavier Maillard <xma@gnu.org> writes:
   > How can I get a specific branch of the current CVS using the git
   > repository ? Cloning the git repository has only fetched the
   > master branch.

   Cloning with git fetches _all_ branches that exist in the cloned git
   repo.  They are under the "origin/" namespace.

Right.

      git checkout -b lexbind origin/lexbind

   [After that, you can switch to your local lexbind branch by just
   using "git checkout lexbind"; to switch back to the trunk, use
   "git checkout master".]

Will my local git repository be able to "track" the activity of
the branch I am working. In short, will git-pull also fetch
branches ? If not, how can I tell it to automatically track and
fetch any change made on a given remote branch ?

Regards,

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




  parent reply	other threads:[~2008-02-22  2:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21  2:00 Git repository and branches ? Xavier Maillard
2008-02-21  1:48 ` Miles Bader
2008-02-21 20:37   ` Michael Olson
2008-02-21 22:29     ` Miles Bader
2008-02-22  2:00   ` Xavier Maillard [this message]
2008-02-22  3:01     ` Miles Bader
2008-02-22  9:58       ` Andreas Schwab
2008-02-23  2:00         ` Xavier Maillard
2008-02-23  8:54           ` Andreas Schwab
2008-02-24  2:00             ` Xavier Maillard
2008-02-23  2:00       ` Xavier Maillard
2008-02-23  2:53         ` Miles Bader
2008-02-24  2:00           ` Xavier Maillard
2008-02-24  2:00           ` Xavier Maillard

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=200802220200.m1M207el003444@localhost.localdomain \
    --to=xma@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.