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

You can use the max-count option for the git log command.

Something like this: git log --graph --decorate --pretty=oneline --abbrev-commit --color=always --max-count=$cnt



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

Search: