A pre-push hook which checks for !temp commits #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
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?
Using
git savecreates commits with the subject!tempwhich are then checkedby
git loadto only rollback temporary commits. In the event of forgetting togit loadand thus remove a!tempcommit message, these could end up beingpushed to the remote. To counteract this a
pre-pushhook could be used toreject any pushes which have unpushed commits with the subject
!temp.This has not been an issue. In fact it would be a hinderance in some situations. Closing.