[git-users] Re: Git clone shows Initialized empty Git repository in what/ever/.git/

2012-11-27 Thread tombert
Hi - the message is missleading. I am receiving the same message but the 
database is ok if you check it.
How to check it?
Do a git clone (without the bare) on the newly created bare repository - 
you will see that you will receive all the files.

-- 




[git-users] Re: Git clone shows Initialized empty Git repository in what/ever/.git/

2012-11-19 Thread John McKown
You might want to give an example of the git clone command you do on the 
system that works, and then also the git clone command you do on the system 
which doesn't work. 

I do something similar. On the local machine I do:

git clone /SmartStor1/Volume1/PUBLIC/git/project.git

on the remote machine, I do:

git clone ssh:user@machine:/SmartStor1/Volume1/PUBLIC/git/project.git

In both cases, I end up with the proper project working directory. Well, 
once I actually do a git push --all from my pre-existing local working 
directory (initialized with git init and set to the proper distribution 
repository with git remote add) to get some initial content into the 
repository.


On Monday, November 19, 2012 2:00:53 PM UTC-6, Javier Garcia wrote:

 Hi,

 I have created a git bare repository in a remote machine. I don't problems 
 to clone it to my local machine, but when I try to clone it any part of the 
 remote machine it says:

 Initialized empty Git repository in what/ever/.git/

 so it doesn't clone anything. It just creates the typical folders when 
 init a git repo (branches/, config/,...).

 Any idea?




-- 




Re: [git-users] Re: Git clone shows Initialized empty Git repository in what/ever/.git/

2012-11-19 Thread William Mizuta
Do you have a commit on your bare repository? The message Initialized
empty Git repository in what/ever/.git/ indicates that your bare
repository doesn't have a commit yet.


William Seiti Mizuta
@williammizuta
Desenvolvedor da Caelum



On Mon, Nov 19, 2012 at 6:35 PM, John McKown
john.archie.mck...@gmail.comwrote:

 You might want to give an example of the git clone command you do on the
 system that works, and then also the git clone command you do on the system
 which doesn't work.

 I do something similar. On the local machine I do:

 git clone /SmartStor1/Volume1/PUBLIC/git/project.git

 on the remote machine, I do:

 git clone ssh:user@machine:/SmartStor1/Volume1/PUBLIC/git/project.git

 In both cases, I end up with the proper project working directory. Well,
 once I actually do a git push --all from my pre-existing local working
 directory (initialized with git init and set to the proper distribution
 repository with git remote add) to get some initial content into the
 repository.


 On Monday, November 19, 2012 2:00:53 PM UTC-6, Javier Garcia wrote:

 Hi,

 I have created a git bare repository in a remote machine. I don't
 problems to clone it to my local machine, but when I try to clone it any
 part of the remote machine it says:

 Initialized empty Git repository in what/ever/.git/

 so it doesn't clone anything. It just creates the typical folders when
 init a git repo (branches/, config/,...).

 Any idea?


  --




--