Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (7 sloc) 224 Bytes
#!/usr/bin/env bash
git log \
--pretty=format:log --graph --pretty=format:'%h'\
--abbrev-commit\
$(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref HEAD))..HEAD\
|sed 's/^\* //'\
|tail -1
Something went wrong with that request. Please try again.