Re: Avoid to pushing multiple commits by inadvertance

2024-04-26 Thread Jean-Marc Lasgouttes
Le 26/04/2024 à 17:06, Scott Kostyshak a écrit : On Fri, Apr 26, 2024 at 03:39:34PM GMT, Jean-Marc Lasgouttes wrote: Hi! Since it is Friday, I decided to do something about my tendency to push several commits by mistake. The attached pre-push hook refuses to push more than one commit unless the

Re: Avoid to pushing multiple commits by inadvertance

2024-04-26 Thread Scott Kostyshak
On Fri, Apr 26, 2024 at 03:39:34PM GMT, Jean-Marc Lasgouttes wrote: > Hi! > > Since it is Friday, I decided to do something about my tendency to push > several commits by mistake. The attached pre-push hook refuses to push more > than one commit unless the "multi" variable is set. > > If you want

Avoid to pushing multiple commits by inadvertance

2024-04-26 Thread Jean-Marc Lasgouttes
Hi! Since it is Friday, I decided to do something about my tendency to push several commits by mistake. The attached pre-push hook refuses to push more than one commit unless the "multi" variable is set. If you want this hook to be active for all your repositories, you can use git config --gl