Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
2 answers
450 views

Why does `rm -rf` behave differently when used in a git post-receive hook as opposed to shell?

I'm using this example on publishing a website w/ git post receive hooks. The hook pretty much clones the bare repo into a temporary directory, and after generating the site, removes that temporary ...
Derrick's user avatar
  • 2,366