Skip to content

Instantly share code, notes, and snippets.

@bgshacklett
Last active November 18, 2016 20:57
Show Gist options
  • Save bgshacklett/410f2e1d1a4054b5f2d8996035e6fb3d to your computer and use it in GitHub Desktop.
Save bgshacklett/410f2e1d1a4054b5f2d8996035e6fb3d to your computer and use it in GitHub Desktop.
Useful Git Commands

These are some commands that I've found useful over my time working with Git.

# Show commits that exist in the local branch, but not in upstream
git log HEAD@{upstream}.. # Full Command
git log @{u}.. # short form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment