git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git clone problem

From
JDJordi Durban <jordi.durban@gmail.com>
Date
Jan 25, 2017, 16:58 UTC
Message-ID
<ef188364-ccd2-e7f5-3c06-62afca79f8d3@gmail.com>
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
Next: Santiago Torres
Message 1 of 3 in “git clone problem”
  1. Jordi DurbanJan 25, 2017
  2. Santiago TorresJan 25, 2017
  3. Jordi DurbanJan 27, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.