emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network security manager


From: Rob Browning
Subject: Re: Network security manager
Date: Mon, 17 Nov 2014 12:58:54 -0600
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu)

Kelvin White <address@hidden> writes:

> Lars Magne Ingebrigtsen <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]