Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An unappreciated flag of git is `--no-pager`. It allows, as said in the name, to execute a git command without using a pager.

Using this flag, my git log aliases to: `git --no-pager log --pretty=oneline -n30 --abbrev-commit`. It just shows the 30 last commits directly in my command line



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: