From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Olson Newsgroups: gmane.emacs.devel Subject: Re: Git repository and branches ? Date: Thu, 21 Feb 2008 14:37:02 -0600 Message-ID: <87odaaoxld.fsf@grepfind.mwolson.org> References: <200802210200.m1L20CP8004750@localhost.localdomain> <87wsoz9j1b.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1203628105 13545 80.91.229.12 (21 Feb 2008 21:08:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2008 21:08:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 22:08:50 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 1JSIev-00041g-Gu for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 22:08:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSIeQ-0001lt-AU for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 16:08:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSIeM-0001lX-NL for emacs-devel@gnu.org; Thu, 21 Feb 2008 16:08:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSIeL-0001kr-10 for emacs-devel@gnu.org; Thu, 21 Feb 2008 16:08:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSIeK-0001km-Tu for emacs-devel@gnu.org; Thu, 21 Feb 2008 16:08:12 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JSIeK-0005Gx-BO for emacs-devel@gnu.org; Thu, 21 Feb 2008 16:08:12 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JSIeH-0007fn-Uh for emacs-devel@gnu.org; Thu, 21 Feb 2008 21:08:09 +0000 Original-Received: from pool-72-69-4-31.sbndin.dsl-w.verizon.net ([72.69.4.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Feb 2008 21:08:09 +0000 Original-Received: from mwolson by pool-72-69-4-31.sbndin.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Feb 2008 21:08:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-69-4-31.sbndin.dsl-w.verizon.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEU1QytIVTlZY0dqc1N6 hGGJl3qZpZCtuKXsjxzFAAACW0lEQVR42l2UXXrqIBCGk67Aoe29Ac4CTPDcGwZ73wLdQDOuQLP9 8wHG9hT1Mc6bb/5jp7Xed92TVrqeCYfKRVc+XdfDbqbJ8TixG1UDu2a3xkf2H+z+A6Qn7Xk71AA8 kdJmZg4xpcTshgr2JQSurAswhwDFYQN9r4yxx1BIQqBTBbvqahw9hxRSLOBdFVA89TTOvgSoMaLf ABTWOg5Z8lLRNyD7x4WSVHU1DZurThn2HI9Oa561JhTSDUWxq64YqRlmrcdhA73y3rmJY1okotDT NzDO2XNGZPnS7A4b6NQ8foQFN2eJmEBR7Du1Q/DRh7R4O50BrGmu0F8i49Iya+ScvtDNqkADB8zD pwU9wTu9c8msdNYOO0JvYYyREd9xBOh7zSNc2WMZUYzIDHOpU0Kx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IKQEuxjFC2DOHGhAai3huMoug2gM6HrDs+o BUFGauhMl6oFXQOlIgeqlJX9a9zQf4+aBupBlegKwAcZ6kQKiqYFk1JeOVCmlAZdScpPKaCE3h4y MTbQJOBxgoDzp0oRsAR0AgCz0VSNCeBOgi4f/QxLNY4TwFyC5fVhL8XQJgycqz9bD6iDcZJIqwAA AABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:3Be8zaVvqF4F0e6SkLhQHtWQfnY= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:89861 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable Miles Bader writes: > To switch your working directory to one of those branches, you can use > the git-checkout command. It's possibly to simply checkout one of the > origin branches (e.g., "git checkout origin/lexbind"), but generally > you don't want to do unless you're not going to do any modifications > (the reason is that "origin/" branches are supposed to represent the > pristine contents of the repo you cloned from, to make future > interaction easier). So the more usual method is to create a local > branch which tracks the given origin branch, e.g.: > > git checkout -b lexbind origin/lexbind If you want to track changes made to that branch in the remote repo, you can alternatively do: git branch --track lexbind origin/lexbind =2D-=20 | Michael Olson | FSF Associate Member #652 | | http://mwolson.org/ | Hobbies: Lisp, HCoop | | Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner | `-------------------------------------------------------' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHveDw+1Ho2POo0xkRAsq3AKCxVVPs5G43yFbiQc6XFvSbN501sACgnpZd vUg7QN1XIzWYPoeyxS/KPZg= =l62i -----END PGP SIGNATURE----- --=-=-=--