Skip to content

Instantly share code, notes, and snippets.

@marocchino
Created October 18, 2012 21:04
Show Gist options
  • Save marocchino/3914717 to your computer and use it in GitHub Desktop.
Save marocchino/3914717 to your computer and use it in GitHub Desktop.
find all comment in project
#!/usr/local/bin/fish
for file in (git grep -l -E "^ *#"); echo "# "$file; git --no-pager blame -L "/^ *#/" $file; end|grep -e "\(^\|)\) *#"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment