I can cherry pick a commit using bash
git cherry-pick -n <HASH>
But is there any way to do that by using TortoiseGit?
Checkout the branch on which you want to cherry pick the commit it. Then
Now you basically have two options as the -n
option is not directly available in TortoiseGit.
1) Change the cherry-pick type from "Pick" to "Edit", start the cherry-pick and then, check the "Edit commit" checkbox, keep the commit dialog open, do your changes and then commit and finish the cherry-pick.
2) Finish the cherry pick and then
cf. https://tortoisegit.org/docs/tortoisegit/tgit-dug-cherrypick.html