Change git author name and email

This commit is contained in:
Vishesh Handa
2019-01-11 20:00:42 +01:00
parent 735698bfaa
commit 55de42cba6

View File

@ -46,8 +46,8 @@ class GitNoteRepository implements NoteRepository {
await gitAdd(this.dirName, filePath); await gitAdd(this.dirName, filePath);
await gitCommit( await gitCommit(
gitFolder: this.dirName, gitFolder: this.dirName,
authorEmail: "noemail@example.com", authorEmail: "app@gitjournal.io",
authorName: "Vishesh Handa", authorName: "GitJournal",
message: "Added Journal entry", message: "Added Journal entry",
); );
@ -67,9 +67,9 @@ class GitNoteRepository implements NoteRepository {
await gitRm(this.dirName, filePath); await gitRm(this.dirName, filePath);
await gitCommit( await gitCommit(
gitFolder: this.dirName, gitFolder: this.dirName,
authorEmail: "noemail@example.com", authorEmail: "app@gitjournal.io",
authorName: "Vishesh Handa", authorName: "GitJournal",
message: "Added Journal entry", message: "Removed Journal entry",
); );
return result; return result;