Skip to content

Commit

Permalink
[UPDATE] README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
janstrohbeck committed Mar 21, 2019
1 parent b6d63ef commit 57dca11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ This means that it can not find the compilation database, which contains the fla
* You did not build your package before committing or the flags changed since you last built your backage. Build your package with `catkin build package_name`.
* Your package was moved or renamed. To fix this, navigate to the root of your catkin workspace and delete all files generated by the git hooks:
```bash
find src -name "run_hooks" -exec rm {} \;
find .git -name "*.config.yaml" -exec rm {} \;
find .git -name "pre-commit" -exec rm {} \;
find . -name ".git" -type d | xargs -n1 -I _DIR_ find _DIR_ -name "*.config.yaml" -exec rm {} \;
find . -name ".git" -type d | xargs -n1 -I _DIR_ find _DIR_ -name "pre-commit" -exec rm {} \;
find . -name "run_hooks" -exec rm {} \;
```
Then build your package (which will cause the git hooks to re-create the necessary files) and try to commit again.

Expand Down

0 comments on commit 57dca11

Please sign in to comment.