Skip to content

Instantly share code, notes, and snippets.

@andersonmadeira
Created October 31, 2018 21:02
Show Gist options
  • Save andersonmadeira/2fe29761f987e88b334693d9f6aefc8f to your computer and use it in GitHub Desktop.
Save andersonmadeira/2fe29761f987e88b334693d9f6aefc8f to your computer and use it in GitHub Desktop.
Comandos úteis no GIT
# Exibir todos os commits de origin/develop que não estão em origin/master
git log origin/master..origin/develop --oneline
# Exibir quais commits do branch atual não estão em origin/master
git log origin/master..HEAD --oneline
# Exibir alterações em origin/develop que não estão em origin/master
git diff --stat origin/master..origin/develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment