[git-users] Re: git clone to existing folder

2009-11-02 Thread Aljosa Mohorovic

On Nov 2, 1:45 am, David Aguilar dav...@gmail.com wrote:
 Why are you re-cloning every time?

i'm not cloning every time, i'm having problems cloning source the
first time.
naturally, i would pull updates after successful clone.

 Is the initial project folder empty?
 If so this'll clone into current the directory.

 git init
 git remote add origin URL
 git fetch origin
 git checkout -t origin/master


this will work for me and it does solve my problem.

i'm still curious why clone doesn't work in current folder, anybody
has any idea if there is a technical reason for that or something
else?

Aljosa Mohorovic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en
-~--~~~~--~~--~--~---



[git-users] Re: git clone to existing folder

2009-11-02 Thread Michael P. Soulier
On 02/11/09 Aljosa Mohorovic said:

 i'm still curious why clone doesn't work in current folder, anybody
 has any idea if there is a technical reason for that or something
 else?

Probably just an assumption on the part of the designers that no one would
ever need to do that. I tend to agree.

But, you can always take it up with the git maintainers.

Mike
-- 
Michael P. Soulier msoul...@digitaltorque.ca
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpiN0JFxWJ9b.pgp
Description: PGP signature