How to cherry pick from 1 branch to another

I have 2 branches, master and dev. I am on dev branch and I want to cherry-pick 1 commit from master to dev. So I did $ git cherry-pick be530cec7748e037c665bd5a585e6d9ce11bc8ad Finished one cherry-pick. But when I do git status and gitx, I don’t see my commit be530cec7748e037c665bd5a585e6d9ce11bc8ad in git history. How can I see my … Read more

git cherry-pick says “…38c74d is a merge but no -m option was given”

I made some changes in my master branch and want to bring those upstream. When I cherry-pick the following commits. However, I get stuck on fd9f578 where git says: $ git cherry-pick fd9f578 fatal: Commit fd9f57850f6b94b7906e5bbe51a0d75bf638c74d is a merge but no -m option was given. What is git trying to tell me and is cherry-pick … Read more

How to cherry-pick a range of commits and merge them into another branch?

I have the following repository layout: master branch (production) integration working What I want to achieve is to cherry-pick a range of commits from the working branch and merge it into the integration branch. I’m pretty new to git and I can’t figure out how to exactly do this (the cherry-picking of commit ranges in … Read more

How can I selectively merge or pick changes from another branch in Git?

I’m using Git on a new project that has two parallel — but currently experimental — development branches: master: import of existing codebase plus a few modifications that I’m generally sure of exp1: experimental branch #1 exp2: experimental branch #2 exp1 and exp2 represent two very different architectural approaches. Until I get further along I … Read more