From c113487f73713a03b1a139b22bb34b86234d0495 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 11 Nov 2016 00:20:44 +0100 Subject: github_hosts_sync: config user.{email,name} --- retiolum/scripts/github_hosts_sync/hosts-sync | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retiolum/scripts/github_hosts_sync/hosts-sync b/retiolum/scripts/github_hosts_sync/hosts-sync index 53c96efd..f36c700d 100755 --- a/retiolum/scripts/github_hosts_sync/hosts-sync +++ b/retiolum/scripts/github_hosts_sync/hosts-sync @@ -51,6 +51,8 @@ do_work() { cd "$local_hosts" find . -name .git -prune -o -type f -exec git add \{\} \; >&2 if git status --porcelain | grep -q .; then + git config user.email "$LOGNAME@$(hostname)" + git config user.name "$LOGNAME" git commit -m bump >&2 git push >&2 fi -- cgit v1.2.3