git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jordi Durban <jordi.durban@gmail.com>
To: Santiago Torres <santiago@nyu.edu>
Cc: git@vger.kernel.org
Subject: Re: git clone problem
Date: Fri, 27 Jan 2017 10:18:17 +0100	[thread overview]
Message-ID: <1f99a4a2-2d6d-7bda-5f2c-9a0754791856@gmail.com> (raw)
In-Reply-To: <20170125175840.hy7d2f775dxnafpo@LykOS.localdomain>

Hi Santiago!

Thank you for your answer.

What I meant was that the "WHATEVER" directory contained the same files 
as the current directory (i.e the directory where I typed "git clone"). 
Thus, no files from the remote repository were cloned. It seemed really 
weird. However I was playing around with git and finally I was able to 
clone remote files in a "test" location as you suggested.

Thank you very much.


El 25/01/17 a les 18:58, Santiago Torres ha escrit:
> Hello, Jordi.
>
> Hmm, it should've cloned in the "whatever" directory.
>
> Can you post your git version/configs and maybe the output verbatim of
> the command when you run it?
>
> If you can reproduce in an empty dictionary that'd be better
>
> $ mkdir test && cd test
>
> $ git clone --recursive https://github.com/...
>
> $ ls
>
> Thanks,
> -Santiago
>
> On Wed, Jan 25, 2017 at 05:58:58PM +0100, Jordi Durban wrote:
>> Hi all! Not sure if that will reach the goal, but let's it a try.
>>
>> I have a problem with the git clone command: when I try to clone a remote
>> repository with the following:
>>
>> git clone --recursive https://github.com/whatever.git
>>
>> what I actually obtain is a copy of my own files in the current directory.
>>
>> I mean:
>>
>> In the current directory:
>>
>> $ls
>>
>> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl
>> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl
>>
>> $git clone --recursive https://github.com/whatever.git WHATEVER
>>
>> $ls
>>
>> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl
>> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl
>>
>> -rwxr-xr-x 1  1,6K set  5 13:05 WHATEVER
>>
>> $ls WHATEVER
>>
>> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl
>> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl
>>
>> I am really confused with that.
>>
>> Any help will be appreciated. Thank you
>>


  reply	other threads:[~2017-01-27  9:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 16:58 git clone problem Jordi Durban
2017-01-25 17:58 ` Santiago Torres
2017-01-27  9:18   ` Jordi Durban [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-12-28 23:08 Steven Sroka
2007-04-03  5:56 Aubrey Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1f99a4a2-2d6d-7bda-5f2c-9a0754791856@gmail.com \
    --to=jordi.durban@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=santiago@nyu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).