* Using git clone @ 2014-11-04 16:59 Dr. George E. Moore 2014-11-08 17:15 ` brian m. carlson 0 siblings, 1 reply; 3+ messages in thread From: Dr. George E. Moore @ 2014-11-04 16:59 UTC (permalink / raw) To: git Is it appropriate to use "git clone" to update the master branch of an existing repository? The current master branch is for a much earlier release candidate. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using git clone 2014-11-04 16:59 Using git clone Dr. George E. Moore @ 2014-11-08 17:15 ` brian m. carlson 2014-11-09 15:24 ` Matthieu Moy 0 siblings, 1 reply; 3+ messages in thread From: brian m. carlson @ 2014-11-08 17:15 UTC (permalink / raw) To: Dr. George E. Moore; +Cc: git [-- Attachment #1: Type: text/plain, Size: 584 bytes --] On Tue, Nov 04, 2014 at 11:59:59AM -0500, Dr. George E. Moore wrote: > Is it appropriate to use "git clone" to update the master branch of an > existing repository? The current master branch is for a much earlier > release candidate. You generally want to use git fetch or git pull in that case. git clone creates an entirely new copy of the original repository. -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187 [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using git clone 2014-11-08 17:15 ` brian m. carlson @ 2014-11-09 15:24 ` Matthieu Moy 0 siblings, 0 replies; 3+ messages in thread From: Matthieu Moy @ 2014-11-09 15:24 UTC (permalink / raw) To: brian m. carlson; +Cc: Dr. George E. Moore, git ----- 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/ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-09 15:24 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-11-04 16:59 Using git clone Dr. George E. Moore 2014-11-08 17:15 ` brian m. carlson 2014-11-09 15:24 ` Matthieu Moy
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).