From ec093fe272c498f77b47ca87b7ed921d232fb830 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Wed, 16 Dec 2020 00:45:08 +0100 Subject: [PATCH] git: add warning to not edit config.host --- roles/git/templates/config.host.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/git/templates/config.host.j2 b/roles/git/templates/config.host.j2 index 33f5074..ac06b53 100644 --- a/roles/git/templates/config.host.j2 +++ b/roles/git/templates/config.host.j2 @@ -1,3 +1,13 @@ +# ************************************* +# * DO NOT EDIT THIS FILE * +# ************************************* +# +# This file was generated by Ansible and any changes will be overwritten the +# next time the playbook is run. For local settings, use this instead: +# +# ~/.local/etc/git/config +# + [user] name = {{ git_user }} email = {{ git_email }}