Skip to content

Commit 439ac36

Browse files
committed
Bypass githooks
1 parent 2e647b5 commit 439ac36

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
105105
* [List only the root and merge commits.](#list-only-the-root-and-merge-commits)
106106
* [Merge previous two commits into one.](#merge-previous-two-commits-into-one)
107107
* [List all branch is WIP](#list-all-branch-is-wip)
108+
* [Bypass pre-commit and commit-msg githooks](#bypass-pre-commit-and-commit-msg-githooks)
108109

109110
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
110111
<!-- @doxie.inject end toc -->
@@ -703,5 +704,10 @@ git rebase --interactive HEAD~2
703704
git checkout master && git branch --no-merged
704705
```
705706

707+
## Bypass pre-commit and commit-msg githooks
708+
```sh
709+
git commit --no-verify
710+
```
711+
706712
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
707713
<!-- @doxie.inject end -->

tips.json

+3
Original file line numberDiff line numberDiff line change
@@ -314,4 +314,7 @@
314314
}, {
315315
"title": "List all branch is WIP",
316316
"tip": "git checkout master && git branch --no-merged"
317+
}, {
318+
"title": "Bypass pre-commit and commit-msg githooks",
319+
"tip": "git commit --no-verify"
317320
}]

0 commit comments

Comments
 (0)