Skip to content

Push Operation #5

@ddymko

Description

@ddymko

Add support for

1.	pre-push: This hook is invoked before a push to a remote repository is initiated. It can be used to validate the changes being pushed. If it exits non-zero, the push is aborted.
2.	update: This server-side hook is executed before any ref is updated on a remote repository. It’s used for access control and validation.
3.	post-update: This server-side hook runs after the refs have been updated. It can be used for notifications or synchronization tasks.
4.	post-receive: This server-side hook is invoked after a successful push operation. It can be used for further processing like deploying changes.

Note

pre-push:

•	Description: Run during git push, after remote refs have been updated but before objects have been transferred.
•	$1: Name of the remote being pushed to.
•	$2: URL to which the push is being done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions