All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Kågedal" <davidk@lysator.liu.se>
To: git@vger.kernel.org
Subject: Re: Incorrect default for git stash?
Date: Mon, 23 Jun 2008 19:14:50 +0200	[thread overview]
Message-ID: <87tzfk9iph.fsf@lysator.liu.se> (raw)
In-Reply-To: 911589C97062424796D53B625CEC0025E46170@USCOBRMFA-SE-70.northamerica.cexp.com

<Patrick.Higgins@cexp.com> writes:

> Eric Raible wrote:
>
>> git branch -> list branches
>> git tag    -> list tags
>> git stash  -> create a stash
>
> git commit -> list commits?
> git checkout -> list checkouts?
> git prune -> list prunes?
> git pull -> list pullables?
>
> Why would you expect stash to behave like branch and tag?

Because is kindof does.

I would prefer to have two simple commands

  git stash
  git unstash

and not bother with named stashes etc (for that I use stgit or normal
branches). You'd need a way to clear the stash as well.

-- 
David Kågedal

  reply	other threads:[~2008-06-23 17:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-17 22:21 Incorrect default for git stash? Eric Raible
2008-06-17 22:29 ` Patrick.Higgins
2008-06-23 17:14   ` David Kågedal [this message]
2008-06-17 22:32 ` Junio C Hamano
2008-06-17 22:44   ` Eric Raible
2008-06-17 23:12     ` しらいしななこ
2008-06-18  0:37       ` Eric Raible
2008-06-17 22:32 ` Jeff King

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=87tzfk9iph.fsf@lysator.liu.se \
    --to=davidk@lysator.liu.se \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.