Skip to content

Instantly share code, notes, and snippets.

@jdelibas
Last active April 17, 2018 13:57
Show Gist options
  • Save jdelibas/cb794446e49cd993441cd44bfa3a5b01 to your computer and use it in GitHub Desktop.
Save jdelibas/cb794446e49cd993441cd44bfa3a5b01 to your computer and use it in GitHub Desktop.
Useful git commands

Useful git commands

Config

Alias

alias.pretty=log --pretty=oneline
alias.tag-graph=log --tags --graph --oneline --decorate --simplify-by-decoration
alias.co=checkout -b

Log of commits reachable between TAG and HEAD

  git log --pretty=oneline 2.6.0..HEAD --reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment