mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 09:47:35 +08:00
Change git author name and email
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user