Versioning GitHub CODEOWNERS file -


we have git repo hosted on github using "a successful git branching model".

to protect master , dev branches, have pair of codeowners files. prs master require approval of user a, , prs dev require approval of user a, b or c.

i'm not sure how handle versioning of codeowners files themselves. ideally, we'd them remain static, however, initiating pr between dev or master results in merge conflicts because of differing codeowners files.

is possible me set branch history such master/dev not attempt sync codeowners files? commits need make?

i'm repo admin, can temporarily disable pr requirements on master/dev.

the codeowners file appears configuration file has nothing directly sourcecode in of git branches. therefore, argue, has no place being versioned in git in first place. 1 solution problem not version file. can try removing git repository, adding .gitignore files. first part, use:

git rm --cached <path/to/codeowners> 

once have done this, can add codeowners .gitignore make sure no 1 else can add (i.e. verison it) later on.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -