Last Updated: February 25, 2016
·
575
· taylorfausak

Find regression testable code

In a perfect world, you'd write regression tests when you fix issues. That doesn't always happen, though. Use this command to find issues you closed. Then write regression tests for them.

git log \
  --all-match \
  --regexp-ignore-case \
  --extended-regexp \
  --grep='(fix(e(d|s))?|close(d|s)?) +#[0-9]+' \
  --author='Taylor Fausak'

https://github.com/blog/831-issues-2-0-the-next-generation
http://git-scm.com/docs/git-log