Skip to content

Instantly share code, notes, and snippets.

View darkounet's full-sized avatar

Antoine GUEVARA darkounet

View GitHub Profile
@darkounet
darkounet / clean_gitlab_export.sh
Created September 12, 2016 12:24
Gitlab fix error import/export Pipeline & protected Branches
#!/bin/bash
#
#
# Thanks to https://gist.github.com/hilbix/3e7dbe86f4e155a369a67293e8511e73
# Fix Failed to replace pipelines because one or more of the new records could not be saved.
# Fix Failed to replace protected_branches because one or more of the new records could not be saved.
# Usage : ./clean_gitlab_export.sh 2016-09-12_14-09-835_GROUP_project_export.tar.gz