public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k•org>
To: Duy Nguyen <pclouds@gmail•com>
Cc: David Jeske <davidj@gmail•com>,
	Junio C Hamano <gitster@pobox•com>,
	Git Mailing List <git@vger•kernel.org>
Subject: Re: ephemeral-branches instead of detached-head?
Date: Mon, 12 Aug 2013 19:04:30 +0200	[thread overview]
Message-ID: <877gfqkfhd.fsf@igel.home> (raw)
In-Reply-To: <CACsJy8A-aSjNdSkiBUBSH43G_FBMnShfpkcwQqM9-6d41rfCUA@mail.gmail.com> (Duy Nguyen's message of "Mon, 12 Aug 2013 20:23:04 +0700")

Duy Nguyen <pclouds@gmail•com> writes:

> That would annoy me as I often work on top of detached HEAD on purpose
> and only create a branch when I want to save something. If the warning
> is to be moved, it should warn at the next checkout.

$ git checkout master
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  0e3618e a

Switched to branch 'master'

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k•org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2013-08-12 17:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12  7:25 ephemeral-branches instead of detached-head? David Jeske
2013-08-12  7:39 ` Jonathan Nieder
2013-08-12  7:55 ` Junio C Hamano
2013-08-12  8:37   ` David Jeske
2013-08-12 12:14     ` David Jeske
2013-08-12 13:23       ` Duy Nguyen
2013-08-12 17:04         ` Andreas Schwab [this message]
2013-08-12 17:24         ` Junio C Hamano
2013-08-12 19:40           ` David Jeske
2013-08-12 19:05         ` David Jeske
2013-08-12 17:22       ` Junio C Hamano
2013-08-13  6:05     ` Duy Nguyen
     [not found]       ` <CA+CP9O5Ak3YD60--Mj+eLv3qzbZuuwTN-AxY3xb=SciKD=uZoQ@mail.gmail.com>
2013-08-13 15:13         ` Duy Nguyen
2013-08-13 15:36         ` Fwd: " David Jeske
2013-08-13 16:58           ` Junio C Hamano
2013-08-13 17:13             ` Junio C Hamano
2013-08-13 16:49       ` Junio C Hamano
2013-08-14  0:04         ` Sitaram Chamarty
2013-08-14  1:44           ` Junio C Hamano
2013-08-14  6:32             ` Sitaram Chamarty
2013-08-14  6:59               ` Jeff King
2013-08-14  7:10               ` Andres Perera
2013-08-14  9:05                 ` Sitaram Chamarty
2013-08-14 16:40                   ` Andres Perera

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=877gfqkfhd.fsf@igel.home \
    --to=schwab@linux-m68k$(echo .)org \
    --cc=davidj@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=pclouds@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox