Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: You appear to have cloned empty repository in TortoiseGit

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?

like image 824
Jaggu Avatar asked Nov 15 '11 02:11

Jaggu


People also ask

Can you see who cloned your repository?

Can the owner of the repo see when someone clones it? No, they cannot.

How do I clone a Gitlab repository in TortoiseGit?

TortoiseGit Manual Cloning a git repository is very simple. At an empty directory, just use the explorer context menu and select Git Clone.... The Clone Dialog will show. URL: Input repository URL address, which you will clone from.


2 Answers

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.

like image 63
manojlds Avatar answered Nov 14 '22 14:11

manojlds


This is a warning that no commits have been made to the repository yet. Are you sure this is the repository you intended to clone?

like image 25
Russell Avatar answered Nov 14 '22 14:11

Russell