Skip to content

Commit

Permalink
updated readme for git
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl committed Nov 25, 2016
1 parent f682727 commit ca11db5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@ The tool can be used in combination with git hooks. If the daemon is running loc
Hook file: `.git/hooks/post-commit`

```bash
java -jar tracability-driver-*-jar-with-dependencies.jar -c HEAD -vdm -exclude SysML -repo $GIT_DIR
#!/bin/sh
java -jar tracability-driver-*-jar-with-dependencies.jar -c HEAD -vdm -exclude SysML -repo $GIT_DIR../
```

assuming that the `*.jar` file is also in hooks.

Make sure it is executable:

```bash
chmod +x .git/hooks/post-commit
```

This will trigger a sync of the new commit to the daemon.

0 comments on commit ca11db5

Please sign in to comment.