Git: Cherry-Pick to working copy without commit


I have several branches where I keep certain commits that I want to apply to my working copy every now and then. Initially I tried cherry-picking but I do not want to have the commit in the target branch later.

So I did cherry-pick + reset HEAD~1 --soft

Is there something simpler like cherry-picking to working copy only?


Use '-n' flag with the cherry-picking which is "no commit"

See here:

git cherry-pick -n <HASH>

To then unstage the staged changes

git reset

GitHub "fatal: remote origin already exists"

How do I view 'git diff' output with my preferred diff tool/ viewer?