Skip to content

Commit f51719c

Browse files
authored
Update cache hook docs
1 parent 1b0720d commit f51719c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Docs/FAQ.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ If files were added or removed in the new checkout you will most likely need to
1313

1414
It's recommended to set up some [git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) to automate the process:
1515
- run `xcodegen generate --use-cache` on the following hooks. This will make sure the project is up to date when checking out, merging and rebasing
16-
- post-checkout
17-
- post-rewrite
18-
- post-merge
19-
- run `xcodegen cache` on `post-commit`. This will make sure that when switching branches the cache will be updated in case you made local changes, or are ammending a commit that added a new file.
16+
- `post-checkout`
17+
- `post-rewrite`
18+
- `post-merge`
19+
- run `xcodegen cache` on `pre-commit`. This will make sure that when switching branches the cache will be updated in case you made local changes, or are ammending a commit that added a new file.
2020

2121
## Can I use CocoaPods
2222
Yes, you will just need to run `pod install` after the project is generated to integrate Cocoapods changes.

0 commit comments

Comments
 (0)