[Git] 에러: fatal error in commit_refs

junghan·2023년 5월 9일

에러발생

$ daily_algorithms git:(main) git push
Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 8 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.43 KiB | 1.43 MiB/s, done.
Total 6 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote: fatal error in commit_refs
To https://github.com/jungmyeong96/daily_algorithms.git
 ! [remote rejected] main -> main (failure)
error: failed to push some refs to 'https://github.com/jungmyeong96/daily_algorithms.git'

원인

github 서버 상태가 비정상일 경우 발생한다고 합니다.

해결법

서버가 정상 될 때 까지 대기하면 해결

https://stackoverflow.com/questions/37341960/how-do-i-fix-remote-fatal-error-in-commit-refs-errors-trying-to-push-with-git

profile
42seoul, blockchain, web 3.0

0개의 댓글