Skip to content

Instantly share code, notes, and snippets.

@itvexesme
itvexesme / Gitlab auto-merge .gitlab-ci.yml
Last active December 23, 2023 07:51
Gitlab auto-merge .gitlab-ci.yml
This gist will helps you to get rid of .gitlab-ci.yml conflicts during merges between branches with different ci config files.
# local git setup
user@localhost: git config --global merge.ours.driver true
# repo setup - see .gitattributes
# gitlab setup - see .gitlab.rb