we have a small development team, and about half a year ago we introduced version management by means of git.
I set up a bare remote repository, and each of the developers has his own local repository.
I put in the code and everything worked well for a while.
However, when I want to make a fresh clone, I get the warning:
warning: You appear to have cloned an empty repository.
While my colleague gets all the directories and files of the project with the same command. And if I request the log, I get
fatal: Not a git repository
Also, when I wish to see what has happened in the remote repository, I get
(11:19 lukas@login01 remoteRepository) > git log fatal: bad default revision 'HEAD'
When my colleague does the same, he gets all the messages of the various commits.
We are both in the same user group that has read permissions to the remote repository.
I was able to interact properly with it in the past. I have also made commits to the repo.
However, I must have inadvertently messed something up that disables me to interact properly with the remote repository now but I have no idea what it could be. There is nothing about GIT in either of our environments that could indicate a difference…
Any ideas would be very welcome!