Skip to content

Commit 9f5a855

Browse files
committed
Merge pull request #61 from nirajpandkar/master
Bypass pre-commit and commit-msg githooks
2 parents f1eaf07 + 9b26821 commit 9f5a855

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
106106
* [Merge previous two commits into one.](#merge-previous-two-commits-into-one)
107107
* [List all branch is WIP](#list-all-branch-is-wip)
108108
* [Find guilty with binary search](#find-guilty-with-binary-search)
109+
* [Bypass pre-commit and commit-msg githooks](#bypass-pre-commit-and-commit-msg-githooks)
109110

110111
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
111112
<!-- @doxie.inject end toc -->
@@ -715,5 +716,10 @@ git bisect good # Say current state is good
715716
git bisect reset # Finish search
716717
```
717718

719+
## Bypass pre-commit and commit-msg githooks
720+
```sh
721+
git commit --no-verify
722+
```
723+
718724
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
719725
<!-- @doxie.inject end -->

tips.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -317,4 +317,8 @@
317317
}, {
318318
"title": "Find guilty with binary search",
319319
"tip": "git bisect start # Search start \ngit bisect bad # Set point to bad commit \ngit bisect good v2.6.13-rc2 # Set point to good commit|tag \ngit bisect bad # Say current state is bad \ngit bisect good # Say current state is good \ngit bisect reset # Finish search \n"
320-
}]
320+
},
321+
{
322+
"title": "Bypass pre-commit and commit-msg githooks",
323+
"tip": "git commit --no-verify"
324+
}]

0 commit comments

Comments
 (0)