Answer the question
In order to leave comments, you need to log in
How to git pull with --bare a repository?
There is a local working repository, there is a remote --bare repository to which push-y. There is a file on the remote that I don't have. Now there is a need to transfer information from the remote version to the local one. If I just do pull origin I get:
branch master -> FETCH_HEAD
Already up-to-date
fatal: Failed to checkout a non-bare repository to current branch refs/heads/master
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question