Last active
September 1, 2016 16:12
-
-
Save tmhpfnr/41d7429dd7475798f23690229deec845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
# tidy = "!git fetch --prune && git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d" | |
# pretty format git log | |
hist = log --decorate --oneline --graph --all --date=format:\"%Y-%b-%d %H:%M:%S\" --pretty=format:\"%C(auto)%d%Creset %C(auto)%h%Creset - %C(cyan)%an%Creset %Cgreen(%ad)%Creset : %s\" | |
[tag] | |
# sort git tags by semver | |
sort = version:refname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment