add commit hooks docs, update example, add hook support for `remove-triple`