Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git stash drop all stashes is not working #1926

Closed
ChillarAnand opened this issue Jun 28, 2015 · 8 comments
Closed

git stash drop all stashes is not working #1926

ChillarAnand opened this issue Jun 28, 2015 · 8 comments

Comments

@ChillarAnand
Copy link
Contributor

i have to remove all stashes from a repo. from command line i would do git stash clear. i couldn't find anything such in magit.

@tarsius
Copy link
Member

tarsius commented Jun 28, 2015

For support please use one of the places suggest here: https://github.com/magit/magit#support.

@tarsius tarsius closed this as completed Jun 28, 2015
@ChillarAnand
Copy link
Contributor Author

@ChillarAnand ChillarAnand changed the title git stash clear in magit git stash drop all stashes is not working Jul 16, 2015
@kyleam
Copy link
Member

kyleam commented Jul 16, 2015

If you have your point on the "Stashes" header, k will offer to drop all stashes. You can also highlight several stash lines and press k, and it will offer to drop all of those lines.

@ChillarAnand
Copy link
Contributor Author

@kyleam that was the expected behaviour. i am not able to get it work.

@kyleam
Copy link
Member

kyleam commented Jul 16, 2015

I can't reproduce this with "emacs -Q".

Please provide more information than "not working". Is it prompting you like it should? Is it giving an error? Printing any messages? What is in the process buffer?

@ChillarAnand
Copy link
Contributor Author

If you have your point on the "Stashes" header, k will offer to drop all stashes.

It is just asking for a number to drop stash.

You can also highlight several stash lines and press k, and it will offer to drop all of those lines.

Even for this it is asking for a stash number to drop

@tarsius
Copy link
Member

tarsius commented Jul 16, 2015

I think you are using an old Magit version.

@rafadc
Copy link

rafadc commented Jul 17, 2015

@tarsius , you are right. This was happening to me. For some reason package list said that there weren't any updates. I uninstalled magit using the package manager a new version was there.

The old version number from melpa was magit-90150116 so maybe it was thinking that 2.1.1 was older.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants