Skip to content

Commit b6cf906

Browse files
committed
fix: 画像の位置を修正し、AI Agentの説明を明確化
1 parent 45c777e commit b6cf906

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_posts/2025/2025-07-05-confirm-pam.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ git() {
114114
}
115115
```
116116

117-
![claude-code](/wp-content/uploads/2025/07/05-1751708268.png)
118-
119117
Claude Code のような AI Agent は`git commit --no-verify`で pre-commit Hooks を回避してきます。
120118
Touch ID などの人間の認証を挟むことで、Hook を無視したコミットを防げます。
121119

120+
![claude-code](/wp-content/uploads/2025/07/05-1751708268.png)
121+
122122
あと、人間がズルして `--no-verify` をつけてコミットするときに、確認の意味としてダイアログを出す方法としても使えます。
123123

124124
### スクリプト内での使用

0 commit comments

Comments
 (0)