mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
--cleanup from hook #217
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @basbebe on GitHub (May 4, 2017).
is it possible to call
dehydrated --cleanupfrom within a hook, e.g.exit_hook?@lukas2511 commented on GitHub (Jul 10, 2017):
I implemented a feature for this in
e6d6882c78. Just setAUTO_CLEANUP="yes"in your config and it will run the cleanup routine beforeexit_hook. Otherwise (if you really need to do it manually) you can force dehydrated to use a different lockfile, but I don't recommend doing that.