Nice. Here are a handful of my favorites (where we don't overlap):
# What was the last commit
last=log --name-status -1 HEAD
# History of a file
history=!git log --follow --pretty=format:"$(git config --get custom.formats.ls)" --
#Nicer logs
ls=!git log --pretty=format:"$(git config --get custom.formats.ls)" --decorate
ll=!git log --pretty=format:"$(git config --get custom.formats.ls)" --decorate --name-status
graph=!git log --graph --abbrev-commit --decorate --pretty=format:"$(git config --get custom.formats.graph)"
# My version of the alias command
la=!git config -l | grep alias | cut -c 7-
# Where am I?
where=rev-parse --abbrev-ref HEAD
# Pop off that last commit
undo=reset HEAD~1 --mixed
st=status --short
# What do I have locally that's not on the server?
out=!git log --branches="*$(git rev-parse --abbrev-ref HEAD)" --not --remotes=* --pretty=format:"$(git config --get custom.formats.ls)" --decorate
# List my formats
formats=!git config -l | grep "^custom.formats" | cut -c 16-
Nice. Here are a handful of my favorites (where we don't overlap):
The formats associated with above: