Skip to content

[Bug] Stash not working on commited files #2371

@redsigma

Description

@redsigma

Below are the steps i did that causes this issue

  1. Make a commit with 2 files (any files)
  2. In Local changes, enable Amend so you can see the files
  3. Select all files in Staged and do Stash with Keep All
  4. Files are not stashed.
  • also i noticed that if stash@{0} already exists, then the files within that stash are being applied too for some reason, even tho my action was to stash the current Staged files .

Workaround to get this working

  1. Switch to a different commit
  2. Cherry pick the commit that you want to stash its files (without making a commit ofc)
  3. Now you can stash all files in Staged without any issues

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions