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.
Show commit logs
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.
Show commit logs