git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git clone command
@ 2012-06-13  5:09 Paa Kojo Konduah Amos
  2012-06-20 20:49 ` Neal Kreitzinger
  0 siblings, 1 reply; 2+ messages in thread
From: Paa Kojo Konduah Amos @ 2012-06-13  5:09 UTC (permalink / raw)
  To: git

hello, i have been working with git for some time now... and i have just 
been hit with a serious problem in the middle of a major deployment of 
our project.

Problem: when i do a "git clone" on the server url without specifying 
the actual git repository..the command still pulls files of a previous 
clone rather than warning me the repository does not exist.

PLEASE what might be wrong...is there something like clean some 
cache.... i am really hot now!!!

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git clone command
  2012-06-13  5:09 git clone command Paa Kojo Konduah Amos
@ 2012-06-20 20:49 ` Neal Kreitzinger
  0 siblings, 0 replies; 2+ messages in thread
From: Neal Kreitzinger @ 2012-06-20 20:49 UTC (permalink / raw)
  To: Paa Kojo Konduah Amos; +Cc: git

On 6/13/2012 12:09 AM, Paa Kojo Konduah Amos wrote:
> hello, i have been working with git for some time now... and i have just
> been hit with a serious problem in the middle of a major deployment of
> our project.
>
> Problem: when i do a "git clone" on the server url without specifying
> the actual git repository..the command still pulls files of a previous
> clone rather than warning me the repository does not exist.
>
> PLEASE what might be wrong...is there something like clean some
> cache.... i am really hot now!!!
>

git-clone manpage states:

<directory>
The name of a new directory to clone into. The "humanish" part of the 
source repository is used if no directory is explicitly given (repo for 
/path/to/repo.git and foo for host.xz:foo/.git). Cloning into an 
existing directory is only allowed if the directory is empty.

I assume you're ending up with a new dir/worktree named after the 
humanish part of the repo-name in your url?  mystery solved?

v/r,
neal

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-20 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13  5:09 git clone command Paa Kojo Konduah Amos
2012-06-20 20:49 ` Neal Kreitzinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).