[RTEMS Project] #3872: Add hook to stop merge commits into the master repository
RTEMS trac
trac at rtems.org
Thu Feb 13 16:08:55 UTC 2020
#3872: Add hook to stop merge commits into the master repository
--------------------------+-------------------------
Reporter: Amar Takhar | Owner: (none)
Type: infra | Status: assigned
Priority: normal | Milestone:
Component: admin | Version:
Severity: normal | Keywords: git, server
Blocked By: | Blocking:
--------------------------+-------------------------
A developer had an issue where they accidentally pushed local code that
generated a 'merge commit'.
It's been suggested a hook be added to the server side repository to stop
this from happening.
Here is one such hook I'll have to test it out before adding it:
https://stackoverflow.com/questions/2039773/have-remote-git-repository-
refuse-merge-commits-on-push
--
Ticket URL: <http://devel.rtems.org/ticket/3872>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list