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

Re: Using git clone

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Nov 9, 2014, 15:24 UTC
Message-ID
<1094459024.7303740.1415546663657.JavaMail.zimbra@imag.fr>
In-Reply-To
<20141108171539.GB162918@vauxhall.crustytoothpaste.net>
----- Original Message -----
> You generally want to use git fetch or git pull in that case.  git clone
> creates an entirely new copy of the original repository.
Just to complement the answer: "git clone" is more or less a shorthand for "git init" followed by "git fetch" (to get the remote objects) and "git checkout" (to get the actual files). The original poster probably doesn't want the "git init" part here indeed.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: brian m. carlson
Message 3 of 3 in “Using git clone”
  1. Dr. George E. MooreNov 4, 2014
  2. brian m. carlsonNov 8, 2014
  3. Matthieu MoyNov 9, 2014

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.