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

Re: What's cooking in git.git (Sep 2008, #03; Fri, 19)

From
Ddavid@lang.hm <david@lang.hm>
Date
Sep 19, 2008, 23:43 UTC
Message-ID
<alpine.DEB.1.10.0809191636380.26104@asgard.lang.hm>
In-Reply-To
<7vk5d7pxep.fsf@gitster.siamese.dyndns.org>
On Fri, 19 Sep 2008, Junio C Hamano wrote:
Show 30 quoted lines
> Thomas Rast <trast@student.ethz.ch> writes:
>
>> Regarding _the_ recommended workflow, I can think of a few possible
>> approaches:
>>
>> a) Authoritative: either because we really believe it's the One True
>>    Workflow, or just because we want to sound so.
>>
>> b) Descriptive: describe it as the workflow "we" use (presumably this
>>    includes linux.git which may be worth mentioning; I haven't touched
>>    the kernel though).
>>
>> c) Encyclopedic: describe and classify as many recipes (building
>>    blocks) and workflows as possible in an attempt to build a
>>    complete reference of sorts.
>>
>> d) Blind eye: we're just the tool.  Others can devise workflows.
>>
>> I certainly aimed the patch at (a), since I wanted to be able to point
>> people at it (mostly on #git).  The resources I learned Git with,
>> except for the videos, just show simple examples of pull/push usage,
>> which I found both unsatisfactory (e.g. I want to know _why_ it's a
>> good idea to make topic branches) and incomplete.  This list is an
>> excellent place to learn, but I doubt that's an effort the average
>> user is willing to put in.
>
> I think we should be honest and not try to do (a) nor (c).  And as I
> already said, as (b) your description looked fine, but it wasn't very
> encouraging that not many people commented on it (nor said "Yeah, that's
> what I was missing, thanks").

there is no workflow that is right for every situation, so only describing one (A or B) is very limiting (even if you don't claim that it's the One True way)

We've seen that D doesn't work well (people are confused and create horribly bad workflows, decide that git is too confusing and too limited, and tell everyone they know)

I think C is best. this doesn't mean that we need to imagine and create every possible workflow, but including the workflows that we are sent (and commenting on advantages/disadvantages of them) would be very helpful for people just getting started with a project. Having a catagory of 'how not to use git' with some of the worst examples would be very educational.

In almost all cases where people have spoken up and described their workflow (and the pains involved with it) the git experts here have been able to simplify things for the user (either by pointing out better ways to do the same thing, or in some cases by tweaking git to better support the different class of workflow)

David Lang
Previous: Santi Béjar
Message 5 of 5 in “What's cooking in git.git (Sep 2008, #03; Fri, 19)”
  1. Junio C HamanoSep 19, 2008
  2. Thomas RastSep 19, 2008
  3. Junio C HamanoSep 19, 2008
  4. Santi BéjarSep 19, 2008
  5. david@lang.hmSep 19, 2008

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.