Skip to content

Commit beaaddf

Browse files
committed
Add instructions to setup pre push hook
1 parent 017e516 commit beaaddf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,3 +1073,17 @@ python3 manage.py test
10731073
```
10741074

10751075
- Note:- pre commit official [doc](https://pre-commit.com/)
1076+
1077+
14. Setup pre push hook
1078+
1079+
- for linux or macos
1080+
1081+
```sh
1082+
cp .githooks/pre-push .git/hooks/pre-push && chmod +x .git/hooks/pre-push
1083+
```
1084+
1085+
- for windowns
1086+
1087+
```sh
1088+
copy .githooks\pre-push .git\hooks\pre-push
1089+
```

0 commit comments

Comments
 (0)