git log

function lg() {
  git --no-pager log --graph --oneline -n ${1:-10} ${2} && echo ""
}

This function provides a compact view of the commit history. Used a function rather than an alias to be able to provide parameters.

Image 2020-10-11 at 10.34.47 AM.png

Show commit logs

Previous
Previous

git rebase

Next
Next

git status