Re: git pull opinion
- From
- Aghiles <aghilesk@gmail.com>
- Date
- Nov 6, 2007, 07:45 UTC
- Message-ID
- <3abd05a90711052345v7cc74524g588e03c0c1a93c68@mail.gmail.com>
- In-Reply-To
- <176851C5-D735-4DDC-B799-A5106CD03989@lrde.epita.fr>
Hello,
> As far as I remember, a patch was proposed to change this mis- > behavior of "git stash" (one could argue that it's a PEBCAK issue, > but I really think this command is *way* too dangerous) but I don't > think it's been accepted at this time.
I think that people will use this a lot with the pull command and some accidents will happen. I am of the opinion that the semantics of this command must be changed. Additionally, having "git stash [command]" and "git stash [argument]" mixed together seems strange. One suggestion would be:
git stash store/add/create [stash-name]
git stash apply [stash-name]
git stash clear <stash-name> (accepts wildcards but no empty args)
...- Aghiles.