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 save
creates commits with the subject!temp
which are then checkedby
git load
to only rollback temporary commits. In the event of forgetting togit load
and thus remove a!temp
commit message, these could end up beingpushed to the remote. To counteract this a
pre-push
hook 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.