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

Re: [PATCH,RFC 1/2] Make the list of common commands more exclusive

From
Theodore Tso <tytso@mit.edu>
Date
Nov 12, 2007, 15:20 UTC
Message-ID
<20071112152018.GA20772@thunk.org>
In-Reply-To
<4738292E.2020103@op5.se>
On Mon, Nov 12, 2007 at 11:21:34AM +0100, Andreas Ericsson wrote:
Show 5 quoted lines
>
> git format-patch could probably go in, but skip the others. I've never
> used git cherry in my entire life and it's not, strictly speaking,
> necessary for users to have it. There are other and easier ways to
> find the same information.

How useful it is depends on the project, definitely. The Linux kernel doesn't have the "what's cooking" emails, and is very fast-moving, so a day after you submit your patch set via e-mail, and then you do a pull, and several hundred commits come spilling down from upstream, git-cherry is incredibly useful to see what was accepted and what wasn't. :-)

Show 5 quoted lines
> I'd keep cherry-pick though. It's incredibly useful, and especially
> when a commit ends up on the wrong branch which is something newbies
> are likely to do when they start trying out the topic-branch workflow.
> I still do it sometimes, but hardly ever stop thinking about it since
> it's so easy to fix thanks to cherry-pick.

How often cherry-pick is useful is probably also very project specific, and depends on how branchy a project happens to be, and how aggressively patches get merged into the master development line. For a project that is extremely linear, with few branches, cherry-pick is less useful; I didn't have any occasion to use it for quite a while, and certainly not while I was a git beginner.

							- Ted
Previous: Andreas EricssonNext: Andreas Ericsson
Message 26 of 29 in “Deprecate git-fetch-pack?”
  1. Daniel BarkalowNov 10, 2007
  2. Junio C HamanoNov 11, 2007
  3. Ask Bjørn HansenNov 11, 2007
  4. Johannes SchindelinNov 11, 2007
  5. Junio C HamanoNov 11, 2007
  6. Theodore TsoNov 11, 2007
  7. Junio C HamanoNov 11, 2007
  8. Johannes SchindelinNov 11, 2007
  9. Theodore TsoNov 11, 2007
  10. Jakub NarebskiNov 12, 2007
  11. Jon LoeligerNov 12, 2007
  12. Johannes SchindelinNov 12, 2007
  13. Jon LoeligerNov 12, 2007
  14. Johannes SchindelinNov 12, 2007
  15. Jon LoeligerNov 12, 2007
  16. 1/2 Make the list of common commands more exclusiveTheodore Ts'o, Nov 12, 2007
  17. 2/2 Remove hint to use "git help -a"Theodore Ts'o, Nov 12, 2007
  18. Junio C HamanoNov 12, 2007
  19. Ping YinNov 12, 2007
  20. Theodore TsoNov 12, 2007
  21. Junio C HamanoNov 12, 2007
  22. Mike HommeyNov 12, 2007
  23. Johannes SchindelinNov 12, 2007
  24. Ask Bjørn HansenNov 12, 2007
  25. Andreas EricssonNov 12, 2007
  26. Theodore TsoNov 12, 2007
  27. Andreas EricssonNov 12, 2007
  28. Ask Bjørn HansenNov 12, 2007
  29. Mike HommeyNov 11, 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.