Last active
November 7, 2022 09:28
-
-
Save JoseHdez2/416fda3c8dd9273b36e25f0ffb0d00ce to your computer and use it in GitHub Desktop.
Get all TODO lines of a repo as a CSV file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git grep -l TODO | xargs -n1 git blame -fe --date=short | grep TODO | sed -E 's#\(#,\(#; s#<([a-z]+@[a-z]+\.com)>#,\1,#; s#([0-9]{4}-[0-9]{2}-[0-9]{2})#\1,#; s@(\/\/|#|\/\*)(.*TODO.*)@,"\1\2"@; s#[0-9a-f]{10}##' > todos_$(date +%s).csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment