Skip to content

Instantly share code, notes, and snippets.

@keriati
Created September 30, 2022 11:09
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keriati/2e0cfdad6fd1c1cecca99a6829b21334 to your computer and use it in GitHub Desktop.
Save keriati/2e0cfdad6fd1c1cecca99a6829b21334 to your computer and use it in GitHub Desktop.
List todos in codebase and git blame
git grep -ino "// TODO" | cut -d":" -f1-2 | sed 's/:/ /g' | sed 's/\(.*\) \(.*\)/\2,\2 \1/g' | xargs -r -L 1 git blame -c -L > todo-lol.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment