gerrit/Documentation/error-contains-banned-commit.txt
Yuxuan 'fishy' Wang 61698b14e0 Use the new section title style in Asciidoctor.
We previous use the section title style like:

Section level 1
===============

Section level 2
---------------

Which have a problem in Asciidoctor that the number of "="s or "-"s must match
the number of characters in the header exactly, as a result it's easy to make
mistakes while changing the titles. Asciidoctor provides a better style like:

= Section level 1

== Section level 2

So we switched to this style.

Also fixed a bug in replace_macros.py, which will not cause any problem in the
old style.

Change-Id: I811dd7238735d98f662767c17086152cd69aea02
2013-12-20 12:55:51 -08:00

24 lines
847 B
Plaintext

= contains banned commit ...
With this error message Gerrit rejects to push a commit that is
banned or that would merge in an ancestor that is banned.
If a commit was identified as a bad commit (e.g. because it contains
coding that violates intellectual property) and because of this it
was removed from the central git repository it can be marked as
banned. Gerrit will then prevent that this commit ever enters the
repository again by rejecting every push of such a commit with the
error message "contains banned commit ...".
If you have commits that you want to push that are based on a banned
commit you may want to link:http://www.kernel.org/pub/software/scm/git/docs/git-cherry-pick.html[cherry-pick] them onto a clean base and push
them again.
GERRIT
------
Part of link:error-messages.html[Gerrit Error Messages]
SEARCHBOX
---------