Skip to content

Commit

Permalink
README feedback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhojpatrick authored and Rudi Kershaw committed Mar 22, 2021
1 parent 88c3552 commit 664ff51
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ A common use-case might be to install local git hooks by setting the `core.hooks
<custom.configuration>true</custom.configuration>
</gitConfig>
</configuration>
<dependencies>
<dependency>
<groupId>my.company</groupId>
<artifactId>company-git-hooks</artifactId>
<version>[1.2.3,)</version>
<dependency>
</dependencies>
<executions>
<execution>
<goals>
Expand All @@ -59,13 +52,20 @@ When you run your project build the plugin will configure git to run hooks out o

```$xml
...
<configuration>
<installHooks>
<!-- The location of a git hook to install into the default hooks directory. -->
<pre-commit>file_path/to/your/hook.sh</pre-commit>
<commit-msg>class_path/package/hook.sh</commit-msg>
</installHooks>
</configuration>
<configuration>
<installHooks>
<!-- The location of a git hook to install into the default hooks directory. -->
<pre-commit>file_path/to/your/hook.sh</pre-commit>
<commit-msg>class_path/package/hook.sh</commit-msg>
</installHooks>
</configuration>
<dependencies>
<dependency>
<groupId>my.company</groupId>
<artifactId>company-git-hooks</artifactId>
<version>[1.2.3,)</version>
<dependency>
</dependencies>
...
<goals>
<!-- Install specific hooks directly to the default hooks directory. -->
Expand Down

0 comments on commit 664ff51

Please sign in to comment.