A pre-push hook which checks for !temp commits #1

Closed
opened 2019-01-24 18:52:03 +00:00 by benie · 1 comment
Owner

Using git save creates commits with the subject !temp which are then checked
by git load to only rollback temporary commits. In the event of forgetting to
git load and thus remove a !temp commit message, these could end up being
pushed to the remote. To counteract this a pre-push hook could be used to
reject any pushes which have unpushed commits with the subject !temp.

Using `git save` creates commits with the subject `!temp` which are then checked by `git load` to only rollback temporary commits. In the event of forgetting to `git load` and thus remove a `!temp` commit message, these could end up being pushed to the remote. To counteract this a `pre-push` hook could be used to reject any pushes which have unpushed commits with the subject `!temp`.
Author
Owner

This has not been an issue. In fact it would be a hinderance in some situations. Closing.

This has not been an issue. In fact it would be a hinderance in some situations. Closing.
benie closed this issue 2024-04-06 21:38:43 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: config/git#1
No description provided.