You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that will automatically run `./x.py test tidy --bless` on each commit, to ensure
11
+
that will automatically run `./x.py test tidy --bless` on each push, to ensure
12
12
your code is up to par. If you decide later that this behavior is
13
-
undesirable, you can delete the `pre-commit` file in `.git/hooks`.
13
+
undesirable, you can delete the `pre-push` file in `.git/hooks`.
14
14
15
-
A prebuilt git hook lives at [`src/etc/pre-commit.sh`](https://github.com/rust-lang/rust/blob/master/src/etc/pre-commit.sh) which can be copied into your `.git/hooks` folder as `pre-commit` (without the `.sh` extension!).
15
+
A prebuilt git hook lives at [`src/etc/pre-push.sh`](https://github.com/rust-lang/rust/blob/master/src/etc/pre-push.sh) which can be copied into your `.git/hooks` folder as `pre-push` (without the `.sh` extension!).
16
16
17
17
You can also install the hook as a step of running `./x.py setup`!
0 commit comments