Closed WhatsARanjit closed 8 years ago
Related to https://github.com/nwops/retrospec-templates/pull/2
When using retrospec, I get the following error message:
Unknown option: -C usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS] Successfully ran hook: /root/.retrospec/repos/retrospec-puppet-templates/clone-hook
The hook is attempting to use the -C flag to set the current working directory and run commands remotely. I've instead changed this to git-dir and work-tree so it works correctly.
git-dir
work-tree
thanks @WhatsARanjit
Related to https://github.com/nwops/retrospec-templates/pull/2
When using retrospec, I get the following error message:
The hook is attempting to use the -C flag to set the current working directory and run commands remotely. I've instead changed this to
git-dir
andwork-tree
so it works correctly.