Open GoogleCodeExporter opened 9 years ago
Original comment by sstrickr...@googlemail.com
on 13 Nov 2013 at 9:20
Hi,
We are also highly interested in this functionality.
The Log's option "Cherry Pick this Commit" seems to open a rebase dialog, with
the Branch combo-box disabled. It tried to cherry-pick on the branch one is
working on, which of course fails. Fixing this functionality would be immense
help for us.
Thanks for all you great work!
Original comment by sol...@gmail.com
on 14 Nov 2013 at 3:59
Sorry, forgot to mention - we are using version 1.8.6.
Original comment by sol...@gmail.com
on 14 Nov 2013 at 4:02
FYI:
git cherry-pick <commit> -m1
git cherry-pick <commit> -m2
(git cherry-pick <commit> -m3 ?)
(ref: https://www.kernel.org/pub/software/scm/git/docs/git-cherry-pick.html)
See attached files for example.
Original comment by yuelinho...@gmail.com
on 15 Nov 2013 at 3:52
Attachments:
In the example, found these:
The commit 1bf1d53 which created by -m1 is different from merged commit 9bd6a3f.
The commit 6117b03 whick created by -m2 is different from merged commit
9bd6a3f, too.
I guess both them are not wanted.
So...
Apply -m1 first.
Apply -m2 second. (06-CherryPickTwice.png)
Combine them. (07-combine.png, 08-finally.png)
(If original merged-commit is created through resolving conflict operation, the
combine operation may be do resolve again. Oh~)
Other ways: (may save resolve conflict operation and keep Author/Date data)
1. git cherry-pick master -m1 (TGit not support it yet)
2. Right click on "master" in Log dialog and do "Compare with working tree".
3. Select all and do "Revert to revision 9bd6a3f" in Changed Files dialog.
4. do Commit with Amend.
More, wish TGit do "one click" to do this. ^_^
Or, support -m in Cherry Pick dialog. :) (09-CherryPick.png and
10-CherryPick.png)
Original comment by yuelinho...@gmail.com
on 15 Nov 2013 at 7:30
Attachments:
Original comment by ch3co...@gmail.com
on 15 Nov 2013 at 1:24
Original issue reported on code.google.com by
patr...@mezard.eu
on 5 Sep 2013 at 6:58