From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.devel Subject: Re: Network security manager Date: Mon, 17 Nov 2014 12:58:54 -0600 Message-ID: <87lhn9ac29.fsf@trouble.defaultvalue.org> References: <85a93pj1n5.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416250766 10654 80.91.229.3 (17 Nov 2014 18:59:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 18:59:26 +0000 (UTC) Cc: Stephen Leake , Kelvin White , Emacs development discussions To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 19:59:18 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqRWA-0001EO-Ny for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 19:59:18 +0100 Original-Received: from localhost ([::1]:49737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqRWA-0006Q8-8W for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 13:59:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqRVt-0006LH-2B for emacs-devel@gnu.org; Mon, 17 Nov 2014 13:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqRVo-0003Ru-1d for emacs-devel@gnu.org; Mon, 17 Nov 2014 13:59:01 -0500 Original-Received: from defaultvalue.org ([70.85.129.156]:53466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqRVn-0003Rb-TV; Mon, 17 Nov 2014 13:58:55 -0500 Original-Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id E59F32029B; Mon, 17 Nov 2014 12:58:54 -0600 (CST) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 9AD3414E18D; Mon, 17 Nov 2014 12:58:54 -0600 (CST) In-Reply-To: User-Agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 70.85.129.156 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177475 Archived-At: Kelvin White writes: > Lars Magne Ingebrigtsen wrote: > >> That sounds reasonable. Hm... Er... do you have a recipe for how to >> start a new branch off of emacs-24? >"? > > git checkout -b NEW_BRANCH > git commit -m "first commit" > git push -u origin NEW_BRANCH > > substitue the name of the new branch for NEW_BRANCH And minor note -- this assumes your current tree (working directory) is already at the commit that should be the branch point. If not, then you'll need to "git checkout COMMIT" first (i.e. "git checkout emacs-24"). Or you can use this syntax to create and switch to a new branch based on any other COMMIT: git checkout -b NEW_BRANCH COMMIT So for example, assuming you didn't change any of the defaults when you originally cloned or branched, the following commands should work. Create local NEW_BRANCH from the tip of your local emacs-24 branch: git checkout -b NEW_BRANCH emacs-24 or if you want to start from the tip of your current upstream emacs-24 (from the most recently fetched tip): git checkout -b NEW_BRANCH origin/emacs-24 or from a commit you find some other way: git checkout -b NEW_BRANCH SHA1 -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4