Skip to content

Push only some commit #4081

Closed Answered by stefanhaller
noahfraiture asked this question in Q&A
Discussion options

You must be logged in to vote

This is not currently possible. As for making a PR, I'd say the challenge is not so much "how the code is organized", but rather how the UX is designed. Have you thought about that? If you were thinking that you would select a commit in the Commits panel and then hit shift-P to push that commit, then that's not an option. This would be a breaking change, since currently you can hit shift-P anywhere to push the current branch without having to pay attention to what is selected. So it would have to be a different keybinding; however, I'm not convinced the feature is important enough to spend a keybinding on it.

You can approximate the behavior with a custom command like this:

    - key: (wh…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by noahfraiture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants