git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Tags named '-'

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
May 9, 2011, 22:04 UTC
Message-ID
<BANLkTinDHCq4DAiN-3CQPjcZe7LswOxuZA@mail.gmail.com>
In-Reply-To
<1304954496.11377.11.camel@kohr-ah>
Heya,
On Mon, May 9, 2011 at 17:21, Alex Vandiver <alex@chmrr.net> wrote:
>  The functionality of `git checkout -` is very useful, and I am hopeful
> that `git merge -` will eventually land, as it matches my workflow well
> as well.

Speaking of which, my cursory check of 'man git-checkout' did not give me any information on 'git checkout -'. ISTR it lets you check out the branch you were previously on, but I'm not sure. Is it undocumented, or am I missing it (entirely possible, searching for an option named '-' is somewhat difficult).

-- 
Cheers,

Sverre Rabbelier
Previous: Michael SchubertNext: Michael Schubert
Message 6 of 7 in “Tags named '-'”
  1. Alex VandiverMay 9, 2011
  2. Junio C HamanoMay 9, 2011
  3. tag: disallow '-' as tag nameMichael Schubert, May 9, 2011
  4. Junio C HamanoMay 9, 2011
  5. tag: disallow '-' as tag nameMichael Schubert, May 9, 2011
  6. Sverre RabbelierMay 9, 2011
  7. Michael SchubertMay 10, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.