Skip to content

Commit c455a6c

Browse files
added new commit error in error .json (line 75)
1 parent 0cea9ec commit c455a6c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/data/error.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@
7171
"title": "Please enter the commit message for your changes",
7272
"description": "This error occurs when you attempt to commit changes to a Git repository without specifying a commit message, keep in mind it is also a good practice to include a more detailed explanation of the changes made in the commit message",
7373
"solutions": "git commit -m '<commit message>' "
74+
},
75+
{
76+
"type": "commit",
77+
"title": "fatal: Not a git repository (or any of the parent directories): .git",
78+
"description": "This error occurs when you attempt to commit without initiating a git repository, before initiating always make sure either you are in root directory or correct directory where you want to initiate git ",
79+
"solutions": "git init"
7480
}
7581
]
7682
}

0 commit comments

Comments
 (0)