14 lines · 402 B · Text
RawDownload
#!/usr/bin/env bash set -euo pipefail # Brackets are used around characters so these don't show up in normal search.pattern='tod[o]!|FIXM[E]'result=$(git grep --no-color --ignore-case --line-number --extended-regexp -e $pattern -- \  ':(exclude).github/workflows/ci.yml' \  ':(exclude)*criteria.md' \  ':(exclude)*prompt.md' || true)if [[ -n "${result}" ]]; then  echo "${result}"  exit 1fi

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t