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

Re: [RFC/GSOC] Git Beginner | Warnings for potentially destructive commands

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Mar 26, 2016, 15:12 UTC
Message-ID
<vpqfuvdi87u.fsf@anie.imag.fr>
In-Reply-To
<CA+P7+xqkqfccQtWeKbURZt21i+gw=b7f0YHHuqeNzM7TH2m+6g@mail.gmail.com>
Jacob Keller <jacob.keller@gmail.com> writes:
> If possible, I would suggest aiming for generating the actual topology
> that the user is seeing, customized so that it gives relevenat
> information, rather than static examples.

Using the real topology in a useful way is actually pretty hard. It's quite easy to throw the output of "git log --graph --oneline ..." to the user, but as soon as the rebase deals with more than a handfull of commits, we'd want to simplify the history to show something understandable to the user (which by definition should be a beginner if he uses ggit), like replacing long sequences of commits with "..." or so. That is hard to get right.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Jacob KellerNext: Jacob Keller
Message 4 of 8 in “[RFC/GSOC] Git Beginner | Warnings for potentially destructive commands”
  1. Sidhant SharmaMar 25, 2016
  2. Junio C HamanoMar 25, 2016
  3. Jacob KellerMar 25, 2016
  4. Matthieu MoyMar 26, 2016
  5. Jacob KellerMar 27, 2016
  6. Sidhant SharmaMar 29, 2016
  7. [RFC/GSOC] Git Beginner | Warnings for potentially destructive commands (v2)Sidhant Sharma, Mar 30, 2016
  8. Remi Galan AlfonsoMar 31, 2016

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.