Skip to content

Commit 45728c5

Browse files
committed
new error
1 parent ca2e620 commit 45728c5

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/data/error.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"type": "commit",
4141
"title": "fatal: cannot lock ref 'HEAD': unable to resolve reference 'refs/heads/main': reference broken",
4242
"description": "Fatal error occurs when you try to commit your changes.",
43-
"solutions": "git pull origin BRANCHNAME"
43+
"solutions": "rm .git/refs/heads/main<git add .<git commit -m \"github-error-solve\""
4444
},
4545
{
4646
"type": "merge",
@@ -66,6 +66,12 @@
6666
"description": "fatal: repository 'https://github.com/user/repo.git/' not found",
6767
"solutions": "Your repository link is not valid. Try to re-create the repository and copy the new link.<git remote set-url origin YOUR_GITHUB_REPO_LINK"
6868
},
69+
{
70+
"type": "pull",
71+
"title": "fatal: refusing to merge unrelated histories",
72+
"description": "fatal: repository 'https://github.com/user/repo.git/' not found",
73+
"solutions": "Your repository link is not valid. Try to re-create the repository and copy the new link.<git remote set-url origin YOUR_GITHUB_REPO_LINK"
74+
},
6975
{
7076
"type": "push",
7177
"title": "fatal: unable to access 'https://github.com/user/repo.git/': Could not...",

0 commit comments

Comments
 (0)