Skip to content

Commit 1e8ff9f

Browse files
committed
Updates blog post with some printout
1 parent cc942bf commit 1e8ff9f

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

_posts/2025-05-12-git-hooks-for-cleaner-blog.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,17 @@ Now you need to make the script executable in the `.git/hooks/` directory.
110110
chmod +x scripts/git-hooks/pre-commit
111111
```
112112

113-
And then try to do a commit, to see the linting and spell-checker run. If it fails the commit is not added, and once the checks pass without errors your commit is made.
113+
## Do
114+
115+
And then I did a commit, to see the linting and spell-checker run. If it fails the commit is not added, and once the checks pass without errors your commit is made.
116+
117+
```bash
118+
git add -A && git commit -m "Fixes a weird sentence"
119+
✅ No spelling issues found.
120+
✅ No markdown linting issues found.
121+
✅ All pre-commit checks passed.
122+
[main cc942bf] Fixes a weird sentence
123+
1 file changed, 1 insertion(+), 1 deletion(-)
124+
```
114125

115126
Beautiful.

0 commit comments

Comments
 (0)