Fix auto-staging problem in post-commit
Add some examples