Marian Harbach | ebeb154 | 2019-12-13 10:42:46 +0100 | [diff] [blame] | 1 | :linkattrs: |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 2 | = contains banned commit ... |
Edwin Kempin | fffa3df | 2011-01-14 07:05:55 +0100 | [diff] [blame] | 3 | |
| 4 | With this error message Gerrit rejects to push a commit that is |
| 5 | banned or that would merge in an ancestor that is banned. |
| 6 | |
| 7 | If a commit was identified as a bad commit (e.g. because it contains |
| 8 | coding that violates intellectual property) and because of this it |
| 9 | was removed from the central git repository it can be marked as |
| 10 | banned. Gerrit will then prevent that this commit ever enters the |
| 11 | repository again by rejecting every push of such a commit with the |
| 12 | error message "contains banned commit ...". |
| 13 | |
| 14 | If you have commits that you want to push that are based on a banned |
Marian Harbach | 3425337 | 2019-12-10 18:01:31 +0100 | [diff] [blame] | 15 | commit you may want to link:http://www.kernel.org/pub/software/scm/git/docs/git-cherry-pick.html[cherry-pick,role=external,window=_blank] them onto a clean base and push |
Edwin Kempin | fffa3df | 2011-01-14 07:05:55 +0100 | [diff] [blame] | 16 | them again. |
| 17 | |
| 18 | |
| 19 | GERRIT |
| 20 | ------ |
| 21 | Part of link:error-messages.html[Gerrit Error Messages] |
Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame] | 22 | |
| 23 | SEARCHBOX |
| 24 | --------- |