GIT refs/heads/master does not point to a valid object
Here's my problem: I create a new git repository named 'project'. It has some files in it. I clone that repository with: git clone --bare project project.git Git tells me: Cloning into bare repository 'project.git'... done. error: refs/head/master does not point to a valid object! I do get a directory named project.git but if I go on with: git init --bare --shared project.git git clone project.git project2 Git tells me: Cloning into 'project2'... warning: You appear to have cloned an empty repository. done. So I now have no files in the cloned repository: 'project2'. I first encountered this p
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.