1
0
mirror of https://github.com/namibia/tips.git synced 2024-12-22 02:08:53 +00:00

Merge pull request #61 from nirajpandkar/master

Bypass pre-commit and commit-msg githooks
This commit is contained in:
hemanth.hm 2016-06-08 21:03:35 +05:30
commit 9f5a85580a
2 changed files with 11 additions and 1 deletions

View File

@ -106,6 +106,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
* [Merge previous two commits into one.](#merge-previous-two-commits-into-one)
* [List all branch is WIP](#list-all-branch-is-wip)
* [Find guilty with binary search](#find-guilty-with-binary-search)
* [Bypass pre-commit and commit-msg githooks](#bypass-pre-commit-and-commit-msg-githooks)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -715,5 +716,10 @@ git bisect good # Say current state is good
git bisect reset # Finish search
```
## Bypass pre-commit and commit-msg githooks
```sh
git commit --no-verify
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -317,4 +317,8 @@
}, {
"title": "Find guilty with binary search",
"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"
}]
},
{
"title": "Bypass pre-commit and commit-msg githooks",
"tip": "git commit --no-verify"
}]