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

Re: how do you "force a pull"?

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Aug 25, 2007, 13:19 UTC
Message-ID
<86odgveoq4.fsf@blue.stonehenge.com>
In-Reply-To
<20070825115326.GB7122@falcon.digizenstudio.com>
>>>>> "Jing" == Jing Xue <jingxue@digizenstudio.com> writes:

Jing> Ah, this is what I was looking for. Not very intuitive, but works like a Jing> charm!

I find the word "intuitive" is like "common sense", which apparently isn't very common. :)

"Not very intuitive" can be translated as "I don't yet share the mental model from which this observation would be obvious".

I would suggest that to make such observations more intuitive, you stop thinking of git as you would SVN or (gasp!) CVS, and start paying attention to what git-fetch is really doing to the local object tree, and git-merge on top of that, collectively known as git-pull.

The concept of keeping track of a directed graph of commits is not present in "classic" source code managers... and once you make the mental leap, you'll wonder why it was ever done differently. It's revolutionary, not just evolutionary.

(And if this sounds meta, it's because I'm rewriting my "intro to git" slides because I just confirmed where my next presentation will be, and want them to be even better.)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Jing XueNext: Fredrik Tolf
Message 5 of 7 in “how do you "force a pull"?”
  1. Jing XueAug 25, 2007
  2. Dan ChokolaAug 25, 2007
  3. David WatsonAug 25, 2007
  4. Jing XueAug 25, 2007
  5. Randal L. SchwartzAug 25, 2007
  6. Fredrik TolfAug 26, 2007
  7. Jing XueAug 27, 2007

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.