Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git error: There are still logs under

Tags:

git

I am trying to use git fetch --all but it gives me errors when fetching a certain repository.

error: There are still logs under '.git/logs/refs/remotes/tpickel/RS'

and

! [new branch] RS -> tpickel/RS (unable to update local ref)

What went wrong and how to fix it?

git error

like image 362
InsOp Avatar asked May 12 '16 14:05

InsOp


2 Answers

I had similar issue, deleting .git/logs/refs/remotes/tpickel/RS/foo resolved it

like image 112
Jatin Avatar answered Sep 17 '22 16:09

Jatin


Running "rm -rf .git/logs" solved my problem.

like image 40
otaviodecampos Avatar answered Sep 17 '22 16:09

otaviodecampos