diff options
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/scripts/github_hosts_sync/hosts-sync | 2 |
1 files changed, 2 insertions, 0 deletions
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 |