Skip to content

Conversation

@taufek
Copy link
Contributor

@taufek taufek commented Oct 14, 2019

Context

There are scenario we would like to skip pre-push Hooks when deleting remote branch.

Below is an example of git command to delete remote branch.

git push origin :to-be-deleted-branch

When we set ignore_branch_deletions as true for a PrePush Hook,
it will be skipped during remote branch deletion.

@taufek
Copy link
Contributor Author

taufek commented Oct 14, 2019

This is an attempt to solve below issue:
#501

@taufek taufek force-pushed the tj-ignore-branch-deletion-for-pre-push branch 2 times, most recently from 09caa89 to acbecad Compare October 15, 2019 07:54
@sds
Copy link
Owner

sds commented Oct 16, 2019

Thanks @taufek!

Can you rebase so the conflicts are resolved?

@taufek taufek force-pushed the tj-ignore-branch-deletion-for-pre-push branch from acbecad to 52af890 Compare October 16, 2019 06:30
Context
=
There are scenario we would like to skip pre-push Hooks when deleting remote branch.

Below is an example of git command to delete remote branch.

```
git push origin :to-be-deleted-branch
```

When we set `ignore_branch_deletions` as true for a PrePush Hook,
it will be skipped during remote branch deletion.
@taufek taufek force-pushed the tj-ignore-branch-deletion-for-pre-push branch from 52af890 to 8c44c79 Compare October 16, 2019 06:37
@taufek
Copy link
Contributor Author

taufek commented Oct 16, 2019

@sds , I've rebased and ready for re-review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants