I am missing clean mergeinformation in git:
- What commits (list including comments) have been merged by a commit
- What commits have NOT been merged by a commit.
How can I get those? In SVN there was very useful concept of mergeinfo.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure exactly what situation you’re trying to address.
You can list the commits from branch
foothat are not yet merged into branchbarusing:You can list all commits from any local branch that aren’t merged into branch
barusing:If you want remote branches, use
--remotes. Seegit-rev-list(1)for more variations.Perhaps this is what you want for seeing what commits were new since the common ancestor of both parents of a merge, although I don’t think the question is clear:
You can see which commits are cherry-picked between two branches using
git cherry.