Development

git internal server error

chbae 2023. 4. 21. 04:01
728x90

Error

 $ git remote update  
 Fetching origin  
 fatal: internal server error  
 remote: internal server error  
 fatal: protocol error: bad pack header  
 error: Could not fetch origin

Solution

$ git remote prune origin  
$ git gc --auto