{"thread":{"id":"44970","subject":"git clone problem","startedAt":"2017-01-25T16:59:21Z","lastAt":"2017-01-27T09:19:07Z","messageCount":3,"participants":["Jordi Durban","Santiago Torres"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"310164","messageId":"ef188364-ccd2-e7f5-3c06-62afca79f8d3@gmail.com","threadId":"44970","inReplyTo":null,"subject":"git clone problem","fromName":"Jordi Durban","fromEmail":"jordi.durban@gmail.com","sentAt":"2017-01-25T16:58:58Z","receivedAt":"2017-01-25T16:59:21Z","isPatch":false,"sender":{"key":"jordi.durban@gmail.com","avatar":null},"body":"Hi all! Not sure if that will reach the goal, but let's it a try.\n\nI have a problem with the git clone command: when I try to clone a \nremote repository with the following:\n\ngit clone --recursive https://github.com/whatever.git\n\nwhat I actually obtain is a copy of my own files in the current directory.\n\nI mean:\n\nIn the current directory:\n\n$ls\n\n-rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n-rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n\n$git clone --recursive https://github.com/whatever.git WHATEVER\n\n$ls\n\n-rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n-rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n\n-rwxr-xr-x 1  1,6K set  5 13:05 WHATEVER\n\n$ls WHATEVER\n\n-rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n-rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n\nI am really confused with that.\n\nAny help will be appreciated. Thank you\n\n"},{"id":"310169","messageId":"20170125175840.hy7d2f775dxnafpo@LykOS.localdomain","threadId":"44970","inReplyTo":"ef188364-ccd2-e7f5-3c06-62afca79f8d3@gmail.com","subject":"Re: git clone problem","fromName":"Santiago Torres","fromEmail":"santiago@nyu.edu","sentAt":"2017-01-25T17:58:40Z","receivedAt":"2017-01-25T17:58:47Z","isPatch":false,"sender":{"key":"santiago@nyu.edu","avatar":"https://avatars.githubusercontent.com/u/3579933?v=4"},"body":"Hello, Jordi.\n\nHmm, it should've cloned in the \"whatever\" directory.\n\nCan you post your git version/configs and maybe the output verbatim of\nthe command when you run it?\n\nIf you can reproduce in an empty dictionary that'd be better\n\n$ mkdir test && cd test\n\n$ git clone --recursive https://github.com/...\n\n$ ls \n\nThanks,\n-Santiago\n\nOn Wed, Jan 25, 2017 at 05:58:58PM +0100, Jordi Durban wrote:\n> Hi all! Not sure if that will reach the goal, but let's it a try.\n> \n> I have a problem with the git clone command: when I try to clone a remote\n> repository with the following:\n> \n> git clone --recursive https://github.com/whatever.git\n> \n> what I actually obtain is a copy of my own files in the current directory.\n> \n> I mean:\n> \n> In the current directory:\n> \n> $ls\n> \n> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n> \n> $git clone --recursive https://github.com/whatever.git WHATEVER\n> \n> $ls\n> \n> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n> \n> -rwxr-xr-x 1  1,6K set  5 13:05 WHATEVER\n> \n> $ls WHATEVER\n> \n> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n> \n> I am really confused with that.\n> \n> Any help will be appreciated. Thank you\n> \n"},{"id":"310388","messageId":"1f99a4a2-2d6d-7bda-5f2c-9a0754791856@gmail.com","threadId":"44970","inReplyTo":"20170125175840.hy7d2f775dxnafpo@LykOS.localdomain","subject":"Re: git clone problem","fromName":"Jordi Durban","fromEmail":"jordi.durban@gmail.com","sentAt":"2017-01-27T09:18:17Z","receivedAt":"2017-01-27T09:19:07Z","isPatch":false,"sender":{"key":"jordi.durban@gmail.com","avatar":null},"body":"Hi Santiago!\n\nThank you for your answer.\n\nWhat I meant was that the \"WHATEVER\" directory contained the same files \nas the current directory (i.e the directory where I typed \"git clone\"). \nThus, no files from the remote repository were cloned. It seemed really \nweird. However I was playing around with git and finally I was able to \nclone remote files in a \"test\" location as you suggested.\n\nThank you very much.\n\n\nEl 25/01/17 a les 18:58, Santiago Torres ha escrit:\n> Hello, Jordi.\n>\n> Hmm, it should've cloned in the \"whatever\" directory.\n>\n> Can you post your git version/configs and maybe the output verbatim of\n> the command when you run it?\n>\n> If you can reproduce in an empty dictionary that'd be better\n>\n> $ mkdir test && cd test\n>\n> $ git clone --recursive https://github.com/...\n>\n> $ ls\n>\n> Thanks,\n> -Santiago\n>\n> On Wed, Jan 25, 2017 at 05:58:58PM +0100, Jordi Durban wrote:\n>> Hi all! Not sure if that will reach the goal, but let's it a try.\n>>\n>> I have a problem with the git clone command: when I try to clone a remote\n>> repository with the following:\n>>\n>> git clone --recursive https://github.com/whatever.git\n>>\n>> what I actually obtain is a copy of my own files in the current directory.\n>>\n>> I mean:\n>>\n>> In the current directory:\n>>\n>> $ls\n>>\n>> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n>> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n>>\n>> $git clone --recursive https://github.com/whatever.git WHATEVER\n>>\n>> $ls\n>>\n>> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n>> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n>>\n>> -rwxr-xr-x 1  1,6K set  5 13:05 WHATEVER\n>>\n>> $ls WHATEVER\n>>\n>> -rwxr-xr-x 1  1,6K oct 24 17:29 get_fasta.pl\n>> -rwxr-xr-x 1  1,6K set  5 13:05 script_clus_miRNA_c95.pl\n>>\n>> I am really confused with that.\n>>\n>> Any help will be appreciated. Thank you\n>>\n\n"}]}