Skip to content

Commit ab6ff73

Browse files
authored
Merge pull request #54 from safil-badarudeen/commit_errors
Commit errors
2 parents 960f978 + c455a6c commit ab6ff73

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/data/error.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@
6565
"title": "fatal: unable to access 'https://github.com/user/repo.git/': Could not...",
6666
"description": "fatal: repository not found",
6767
"solutions": "git config --global --unset http.proxy<git config --global user.name \"user name\"<git config --global user.email \"user email\""
68+
},
69+
{
70+
"type": "commit",
71+
"title": "Please enter the commit message for your changes",
72+
"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",
73+
"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"
6880
}
6981
]
7082
}

0 commit comments

Comments
 (0)