Troubleshoot GIT issues
Quote from moshe on 23/10/2020, 2:43 pmERROR: fatal: remote origin already exists.
when trying to add new repository
git remote add origin root@gitserver:/home/git/srv/Logic
How to fix
git remote set-url origin git@gitserver:/home/git/srv/Logic
ERROR: When running ‘git status’ getting the following errors
error: Could not read 8124cc15c63be92d534e4cdfa33c38d54deee122
error: unable to read tree object HEAD
How to fix
git fsck
ERROR: fatal: remote origin already exists.
when trying to add new repository
git remote add origin root@gitserver:/home/git/srv/Logic
How to fix
git remote set-url origin git@gitserver:/home/git/srv/Logic
ERROR: When running ‘git status’ getting the following errors
error: Could not read 8124cc15c63be92d534e4cdfa33c38d54deee122
error: unable to read tree object HEAD
How to fix
git fsck