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

"Stash staged changes" stashes unstaged changes too #41

Open
JordanLongstaff opened this issue Nov 30, 2023 · 1 comment
Open

"Stash staged changes" stashes unstaged changes too #41

JordanLongstaff opened this issue Nov 30, 2023 · 1 comment

Comments

@JordanLongstaff
Copy link

Version: 4.2.0 (latest)

Steps to reproduce:

  1. Change two different files in your workspace.
  2. Stage only one of the changes.
  3. Click the "Stash staged changes" button under Stashes in Source Control. Add a stash message if you want, but confirm stashing.

Expected behaviour: The staged change would be stashed and the unstaged change would remain.
Actual behaviour: Both changes are added to the same stash.

@Exelord
Copy link
Owner

Exelord commented Dec 3, 2023

Hey!

Thank for reporting. Could you check how vscode stash command bahevaes? You can find it in command palette. There should be 2 of them stash all changes and stash staged changes.

I suspect this is vscode issue but might be wrong.

astrochemx added a commit to astrochemx/git-commits that referenced this issue Jul 8, 2024
fix `gitCommits.stash` command
add `gitCommits.stashStaged` command
astrochemx added a commit to astrochemx/git-commits that referenced this issue Jul 8, 2024
fix `gitCommits.stash` command
add `gitCommits.stashStaged` command
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

2 participants