mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Improve pre-push.git-hook description
This commit is contained in:
parent
f3eac74ed9
commit
0deea98d02
@ -1,9 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# git pre-push hook script to prevent "fixup!" and "squash!" commit
|
# git pre-push hook script to:
|
||||||
# from ending up in master, or in any branch if CUR_BRANCH check is removed.
|
# 1) prevent "fixup!" and "squash!" commit from ending up in master, release-*
|
||||||
# Furthermore, it disallows pushing branches other than master, release-*
|
# or maint-*
|
||||||
# and maint-* to origin (e.g. gitweb.torproject.org).
|
# 2) Disallow pushing branches other than master, release-*
|
||||||
|
# and maint-* to origin (e.g. gitweb.torproject.org).
|
||||||
#
|
#
|
||||||
# To install this script, copy it into .git/hooks/pre-push path in your
|
# To install this script, copy it into .git/hooks/pre-push path in your
|
||||||
# local copy of git repository. Make sure it has permission to execute.
|
# local copy of git repository. Make sure it has permission to execute.
|
||||||
|
Loading…
Reference in New Issue
Block a user