Read more

Git: See all unpushed commits or commits that are not in another branch

Avatar
Arne Hartherz
December 28, 2010Software engineer at makandra GmbH

If you need to find out which of your local commits are not on the remote server do this:

git cherry -v
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

The -v option prints out the commit messages. Without it you will see only the SHA1 codes.

You may also compare against another (upstream) branch like that:

git cherry -v origin/somebranch

This tool is especially useful when you have a ton of commits after a merge and want to know the commit differences between branches.

Posted by Arne Hartherz to makandra dev (2010-12-28 11:39)