Answer the question
In order to leave comments, you need to log in
How to restore .git folder?
There was a .git folder in the local directory with the project, and it so happened that it was gone. If you do git init
it again, no branches will be visible, only master. Tried to do it , same effect. How to restore .git folder? git clone
Answer the question
In order to leave comments, you need to log in
git init
git remote add origin <url вашего репозитория>
git fetch
Tried to do git clone, same effect.
Apparently they tried it wrong. Git clone is exactly what it is designed for. Try again.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question