Search all todos and fix requests in repo
Just add this line to your global .gitconfig
at [alias]
section
fixme = grep --heading --break --ignore-case -e 'FIX: *' -e 'FIXME: *'
todo = grep --heading --break --ignore-case -e 'TODO: *'
and then if you run
$ git todo
you get all todos and fixes requests in your repo.
Written by Łukasz Niemier
Related protips
6 Responses
That was great! Thanks.
over 1 year ago
·
Yes, thanks for that!
over 1 year ago
·
Sounds awesome, but I'm getting this error (in Windows)
error: unknown option `heading'
over 1 year ago
·
@gavinblair I will check it when I switch to Windows. What version of Git you have?
over 1 year ago
·
Works nicely on OS X.
over 1 year ago
·
Great! If you add -n
it will also show the line number, which can be useful.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Refactoring
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#