E
E
Eugene Wolf2019-02-01 21:57:54
git
Eugene Wolf, 2019-02-01 21:57:54

How to define force/delete push in server-side hook?

Good day!
Colleagues, please help me figure out how to catch a "destructive" push on the server (in the "server" Git hook)? By destructive, I mean various, force, delete and similar pushes.
PS I found a solution on how to do this on the client side, but this option does not fit in any way, there is no way to control all clients.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Demian Smith, 2019-02-02
@search

https://stackoverflow.com/questions/1754491/is-the...
Most upvoted answer. It?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question