-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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: Cherry-Picking commits from another branch #1685
Comments
Something I have requested many times for the old desktop client so adding my vote here to see this become a reality in the new GitHub Desktop. 👍 |
@nathanpitman Do you have any good advice how to reproduce this new feature to project contributors? Is my example good enough or will come to mind some better one? I thought that was the best one. |
Here's how it worked in GitBox (my previous fave OS X Git client):
Pretty quick and easy. :) |
Sorry for my lack of understanding, but when I choose "origin/development" on the right in the title bar, does it means commits on below (in the middle of screen) will update according to this branch? That function is not available at this moment on GitHub Desktop client. Is there anything else good reasons than cherry-pick why they should also add this function to client? I mean I trying to figure out the most easily way to implement cherry-pick to the current version of client. :) |
I don't really care how it's implemented, so long as there is a low friction way to cherry pick a commit and merge it into another branch. :) |
As an feature in UI, this could also be a improvement on current feature "Branch / Merge into current branch". In 0.5.8, there is a text which says for example "This will bring in 7 commits from master". You can select "Merge into current branch" or close the window. If there would be possibility to view and select (i.e cherry-pick) from these commits, it would be a great solution for this feature request. |
Thanks for the suggestion! This idea is interesting for the future, but this is beyond the scope of our current roadmap. I'm going to add the |
This comment has been minimized.
This comment has been minimized.
Yes, it would be great to be able to select and deselect which commits should be included. A simple checkbox and an option to "[ X ] De/Select All" at the top that you can click once to select all and click again to deselect all. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please use the 👍 button on the original comment in the issue instead of commenting +1 so people subscribed to this issue don’t get unnecessary notifications. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
+1 for website support for cherry-picking one or more commits to make a new PR. Doesn't need to support conflict resolution, just allow "clean" cherry-picks in browser. I often use cherry-pick to backport small fixes to other branches pretty often, and the command-line option is pretty tedious: git checkout release_branch_1.0
git pull upstream release_branch_1.0 # make sure local branch is up to date
git checkout -b backport_fix_for_release_1.0 # make a new branch for back-port
git cherry-pick <some commit> <some other commit> # grab fixes (sometimes more than one commit)
git push origin backport_fix_for_release_1.0
# now use github to make PR of backport_fix_for_release_1.0 against release_branch_1.0 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi folks! We've released most of the cherry picking work to the beta version, though we are planning to iterate on a few things with the drag and drop flow in the next few days. Would anyone who would use cherry picking in Desktop be interested in doing a 30 minute usability test with us to see how the flow feels on beta? If you aren't using the beta, you can download it here: https://github.com/desktop/desktop#beta-channel Also, if you have a chance to use it, please feel free to respond here as well with feedback. ❤️ |
Can someone please explain how cherry picking works? Just installed the update, but the only change I can find if a |
Fixed in 2.7.1 |
Description
Would be great if I could cherry-pick commits from another branch. That would be very useful and often used feature in our company.
Version
GitHub Desktop version: 0.5.7
OS version: Microsoft Windows [Version 10.0.14393]
Steps to Reproduce
For example, I would like to select "cherry-pick..." and then it opens window where I could tag specific commits from another branches to my active branch.
And same thing step-by-step:
The text was updated successfully, but these errors were encountered: