Skip to content

Instantly share code, notes, and snippets.

@jeantil
Last active September 22, 2016 11:34
Show Gist options
  • Save jeantil/fc2b63de513ff26020b70f99a34f1bb6 to your computer and use it in GitHub Desktop.
Save jeantil/fc2b63de513ff26020b70f99a34f1bb6 to your computer and use it in GitHub Desktop.
git changelog
[alias]
current-tag= describe --abbrev=0 --tags
previous-tag= "!sh -c 'git describe --abbrev=0 --tags $(git current-tag)^'"
changelog = "!sh -c 'git --no-pager lg --first-parent $(git previous-tag)..$(git current-tag)'"
@ubourdon
Copy link

alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
alias gst='git status -sb'
alias gdiff='git diff --color'
alias gstandup='git log --since yesterday --oneline --author'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment