You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- A little CLI fun to do a global search and replace of "Commit"
with "Hold" in all files that are not in the vendor or .git directories:
```
find . -type f \( -name "*.tcl" -o -name "*.folk" -o -name "*.md" -o -name "*.js" \) \
-not -path "*/vendor/*" \
-not -path "*/.git/*" \
-exec sed -i '' \
-e 's/Commit/Hold/g' \
-e 's/commit/hold/g' \
-e 's/COMMIT/HOLD/g' \
-e 's/Commits/Holds/g' \
-e 's/commits/holds/g' \
-e 's/COMMITS/HOLDS/g' \
-e 's/Committed/Held/g' \
-e 's/committed/held/g' \
-e 's/COMMITTED/HELD/g' \
{} +
```
- Double checked my work by running `rg -i commit --glob '!vendor'`,
ensuring it doesn't return any results.
0 commit comments