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

Feature Request: Add keybinding for git stash --staged (new in 2.35.0) #1941

Closed
ktprograms opened this issue Feb 1, 2022 · 3 comments
Closed

Comments

@ktprograms
Copy link

Hi, in Git 2.35.0, there is a --staged flag to git stash, which will stash only the staged files. It kind of works in the opposite way to czw, since that stashes unstaged files. I think cws would be a sensible binding for it.

Thanks!

@tpope
Copy link
Owner

tpope commented Feb 2, 2022

Generally speaking I don't chase bleeding edge features, but this is straightforward enough that I would be willing to consider an undocumented version. How does --staged interact with --all and --include-untracked?

@tpope tpope closed this as completed Feb 2, 2022
@ktprograms
Copy link
Author

ktprograms commented Feb 2, 2022 via email

@tpope tpope reopened this Feb 2, 2022
@tpope tpope closed this as completed in a443104 Feb 2, 2022
@ktprograms
Copy link
Author

Thanks!

tpope added a commit that referenced this issue Mar 23, 2023
References: #1941
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