diff --git a/passpie/history.py b/passpie/history.py
index <HASH>..<HASH> 100644
--- a/passpie/history.py
+++ b/passpie/history.py
@@ -66,6 +66,8 @@ class Repository(object):
 
     @ensure_git()
     def commit(self, message, add=True):
+        process.call(["git", "config", "--local", "user.name", "Passpie"], cwd=self.path)
+        process.call(["git", "config", "--local", "user.email", "passpie@localhost"], cwd=self.path)
         if add:
             self.add(all=True)
         cmd = ['git', 'commit', '-m', message]
Fix setting author to git config before commit