Assuming that your branch was created off of master
, then while in the branch (that is, you have the branch checked out):
git cherry -v master
or
git log master..
If you are not in the branch, then you can add the branch name to the “git log” command, like this:
git log master..branchname
If your branch was made off of origin/master
, then say origin/master
instead of master
.
Related Posts:
- How to remove local (untracked) files from the current Git working tree
- Git fetch remote branch
- Git fetch remote branch
- How to get the current branch name in Git?
- How do you create a remote Git branch?
- Make an existing Git branch track a remote branch?
- How to get the current branch name in Git?
- How do you create a remote Git branch?
- Branch from a previous commit using Git
- How do I delete a Git branch locally and remotely?
- How do I delete a Git branch locally and remotely?
- How do I rename a local Git branch?
- What is the best (and safest) way to merge a Git branch into master?
- Git merge hotfix branch into feature branch
- How do I clone a specific Git branch? [duplicate]
- How do I push a new local branch to a remote Git repository and track it too?
- How do I list all remote branches in Git 1.7+?
- How do I push a new local branch to a remote Git repository and track it too?
- How do I push a new local branch to a remote Git repository and track it too?
- How to fetch all Git branches
- How to get just one file from another branch?
- How to fetch all Git branches
- Update Git branches from master
- Create a branch in Git from another branch
- How do I rename both a Git local and remote branch name?
- Create Git branch with current changes
- Why do I have to “git push –set-upstream origin
“? - Move the most recent commit(s) to a new branch with Git
- How to pull a specific branch from Github
- Move the most recent commit(s) to a new branch with Git
- How do I call git diff on the same file between 2 different local branches?
- Why do I have to “git push –set-upstream origin
“? - master branch and ‘origin/master’ have diverged, how to ‘undiverge’ branches’?
- git pull from master into the development branch
- Not a valid object name: ‘master’
- Your configuration specifies to merge with the
from the remote, but no such ref was fetched.? - How can I copy the content of a branch to a new local branch?
- How do I copy a version of a single file from one Git branch to another?
- Set up git to pull and push all branches
- Git: Merge a Remote branch locally
- Move existing, uncommitted work to a new branch in Git
- How do I clone a single branch in Git?
- how to reset develop branch to master
- Delete branches in Bitbucket
- How do I push a local Git branch to master branch in the remote?
- How to keep a branch synchronized/updated with master?
- How to create a local branch from an existing remote branch?
- How can I delete all Git branches which have been merged?
- How to find which git branch I am on when my disk is mounted on other server
- How to create a new branch from a tag?
- How do I undo the most recent local commits in Git?
- Git refusing to merge unrelated histories on rebase
- What is the difference between git push origin and git push origin master
- git – remote add origin vs remote set-url origin
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- How to upgrade Git on Windows to the latest version
- git: fatal: Could not read from remote repository
- Windows git “warning: LF will be replaced by CRLF”, is that warning tail backward?
- How to change the URI (URL) for a remote Git repository?
- What would I use git-worktree for?
- How can I merge multiple commits onto another branch as a single squashed commit?
- Git error when trying to push — pre-receive hook declined
- Why does git say “Pull is not possible because you have unmerged files”?
- How do I revert all local changes in Git managed project to previous state?
- How to revert multiple git commits?
- The following untracked working tree files would be overwritten by merge, but I don’t care
- You have not concluded your merge (MERGE_HEAD exists)
- git – pulling from specific branch
- How to copy commits from one branch to another?
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- Remove a git commit which has not been pushed
- There is no tracking information for the current branch
- Git push results in “Authentication Failed”
- What are the differences between .gitignore and .gitkeep?
- What’s the difference between git switch and git checkout
- What is the point of ‘git submodule init’?
- Git nothing added to commit but untracked files present – even with those files added to gitignore
- How can I remove a commit on GitHub?
- git: How to ignore all present untracked files?
- What are the differences between “git commit” and “git push”?
- Your branch is ahead of ‘origin/master’ by 3 commits
- What to gitignore from the .idea folder?git intellij-idea gitignore webstorm
- Why I always Got Error “Push to origin/master was rejected”?
- How to resolve git status “Unmerged paths:”?
- Github Windows ‘Failed to sync this branch’
- How can I generate a Git patch for a specific commit?
- How can I unstage my files again after making a local commit?
- Delete forked repo from GitHub
- Push local Git repo to new remote including all branches and tags
- Git merge without auto commit
- How to get Git to clone into current directory
- How do you merge two Git repositories?
- Git merge reports “Already up-to-date” though there is a difference
- git-diff to ignore ^M
- Change the location of the ~ directory in a Windows install of Git Bash
- Git checkout – switching back to HEAD
- How to modify a specified commit?
- Workflow for working with git and WordPress
- best practice on pushing staging development (database/uploads) to the live server
- how can I create a WP offline environment before releasing the websites? [closed]