From 9306c39fcf31aa669f519b118dc724e811c37692 Mon Sep 17 00:00:00 2001 From: xushanchuan Date: Wed, 3 Mar 2021 15:33:49 +0800 Subject: [PATCH] Instruction for pre-commit hook --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2e47c7c..e07cc77 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,10 @@ The repository contains a lot of test cases to cover both api test and repositor ./gradlew test +# Use git pre-commit hook + +Follow the instruction from [google-java-format-git-pre-commit-hook](https://github.com/a1exsh/google-java-format-git-pre-commit-hook) to use a `pre-commit` hook to make the code format style stable from different contributors. + # Help Please fork and PR to improve the code.