From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.devel Subject: Re: Git repository and branches ? Date: Fri, 22 Feb 2008 03:00:07 +0100 Organization: GNU's Not UNIX! Message-ID: <200802220200.m1M207el003444@localhost.localdomain> References: <200802210200.m1L20CP8004750@localhost.localdomain> <87wsoz9j1b.fsf@catnip.gol.com> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1203647849 8820 80.91.229.12 (22 Feb 2008 02:37:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2008 02:37:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 22 03:37:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JSNnM-0004M7-2d for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2008 03:37:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSNmq-0006ai-Sm for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 21:37:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSNjW-0005Ji-PU for emacs-devel@gnu.org; Thu, 21 Feb 2008 21:33:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSNjV-0005J3-9J for emacs-devel@gnu.org; Thu, 21 Feb 2008 21:33:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSNjV-0005J0-2P for emacs-devel@gnu.org; Thu, 21 Feb 2008 21:33:53 -0500 Original-Received: from master.uucpssh.org ([193.218.105.66]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSNjQ-0001dV-Vi; Thu, 21 Feb 2008 21:33:49 -0500 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id BFCE6C7C78; Fri, 22 Feb 2008 03:32:13 +0100 (CET) Original-Received: from localhost.localdomain (IDENT:1000@localhost [127.0.0.1]) by localhost.localdomain (8.14.1/8.13.8) with ESMTP id m1M20CDR003454; Fri, 22 Feb 2008 03:00:12 +0100 Original-Received: (from xma@localhost) by localhost.localdomain (8.14.1/8.13.8/Submit) id m1M207el003444; Fri, 22 Feb 2008 03:00:07 +0100 In-reply-to: <87wsoz9j1b.fsf@catnip.gol.com> (message from Miles Bader on Thu, 21 Feb 2008 10:48:16 +0900) User-Agent: Rmail in GNU Emacs 23.0.60.2 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.353, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.05, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-uucpssh-From: xma@gnu.org X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89908 Archived-At: Xavier Maillard 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