{"thread":{"id":"37907","subject":"Using git clone","startedAt":"2014-11-04T16:59:59Z","lastAt":"2014-11-09T15:24:24Z","messageCount":3,"participants":["Dr. George E. Moore","brian m. carlson","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"251558","messageId":"1415120399.4259.5.camel@precision690.xccg.com","threadId":"37907","inReplyTo":null,"subject":"Using git clone","fromName":"Dr. George E. Moore","fromEmail":"gem@x-ctr-l.com","sentAt":"2014-11-04T16:59:59Z","receivedAt":"2014-11-04T16:59:59Z","isPatch":false,"sender":{"key":"gem@x-ctr-l.com","avatar":null},"body":"Is it appropriate to use \"git clone\" to update the master branch of an\nexisting repository? The current master branch is for a much earlier\nrelease candidate.\n"},{"id":"251564","messageId":"20141108171539.GB162918@vauxhall.crustytoothpaste.net","threadId":"37907","inReplyTo":"1415120399.4259.5.camel@precision690.xccg.com","subject":"Re: Using git clone","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2014-11-08T17:15:39Z","receivedAt":"2014-11-08T17:15:39Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Tue, Nov 04, 2014 at 11:59:59AM -0500, Dr. George E. Moore wrote:\n> Is it appropriate to use \"git clone\" to update the master branch of an\n> existing repository? The current master branch is for a much earlier\n> release candidate.\n\nYou generally want to use git fetch or git pull in that case.  git clone\ncreates an entirely new copy of the original repository.\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\n+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187\n"},{"id":"251615","messageId":"1094459024.7303740.1415546663657.JavaMail.zimbra@imag.fr","threadId":"37907","inReplyTo":"20141108171539.GB162918@vauxhall.crustytoothpaste.net","subject":"Re: Using git clone","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2014-11-09T15:24:24Z","receivedAt":"2014-11-09T15:24:24Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"----- Original Message -----\n> You generally want to use git fetch or git pull in that case.  git clone\n> creates an entirely new copy of the original repository.\n\nJust 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.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"}]}