Warning: You appear to have cloned empty repository in TortoiseGit

Jaggu picture Jaggu · Nov 15, 2011 · Viewed 43.6k times · Source

I am given a http git repository url along with username and password. I installed git and tried to clone the repository using Tortoisegit but somehow it is not working. These are the screenshots:

enter image description here

After I hit OK i am asked for username and password. I entered that and then I get this screenshots:

enter image description here

I am new to git and never used git before. I am totally clueless why is this happening. Can anybody help me out? At the end I get success does that mean the server repository itself is empty or am I missing something?

Answer

manojlds picture manojlds · Nov 15, 2011

This happens when you are cloning a freshly created repository with no commits.

As it says, it is just a warning. If it is expected that there is nothing in the repository, you can go ahead and add files and commit and push back.

If it is not supposed to be empty, contact the person/admin who gave you the link.