projects
/
platform
/
upstream
/
pytorch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0d27f6
)
Revert D30359218: [pytorch][PR] [doc] pre-commit fix instructions
author
Nikita Shulga
<nshulga@fb.com>
Thu, 19 Aug 2021 23:46:31 +0000
(16:46 -0700)
committer
Facebook GitHub Bot
<facebook-github-bot@users.noreply.github.com>
Thu, 19 Aug 2021 23:48:04 +0000
(16:48 -0700)
Test Plan: revert-hammer
Differential Revision:
D30359218
(https://github.com/pytorch/pytorch/commit/
4e1d84ae8fae49995c8966ccbe0f34360978492f
)
Original commit changeset:
61771babeac4
fbshipit-source-id:
c2ac0a4a7463fafa03ad0b20bfb0701a8c1476c4
CONTRIBUTING.md
patch
|
blob
|
history
diff --git
a/CONTRIBUTING.md
b/CONTRIBUTING.md
index
2d820a3
..
7d8659a
100644
(file)
--- a/
CONTRIBUTING.md
+++ b/
CONTRIBUTING.md
@@
-1151,7
+1151,7
@@
formatting and semantic checking of code. We provide a pre-commit git hook for
performing these checks, before a commit is created:
```bash
- ln -s tools/git-pre-commit .git/hooks/pre-commit
+ ln -s
../../
tools/git-pre-commit .git/hooks/pre-commit
```
You'll need to install an appropriately configured flake8; see