List Git aliases

Question

How do I print a list of my git aliases, i.e., something analogous to the bash alias command?

Answer

You can use --get-regexp with the regular expression ^alias, ie all configurations that start with alias

git config --get-regexp ^alias

How do I delete unpushed git commits?

What's the difference between 'git merge' and 'git rebase'?