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

[RFC] git-publish

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Aug 13, 2006, 16:34 UTC
Message-ID
<Pine.LNX.4.64.0608131158500.9789@iabervon.org>

Like how "pull" is "fetch" + "merge", I think it would be useful to have a "commit" + "push". I have the general feeling that this is more like what users of other version control systems expect to have happen, and it's easy, when working on a non-network-accessible workstation, to commit and forget to do anything with the commit before leaving. So I'm considering a "git-publish" which is the trivial "git commit $* && git push".

My suspicion is that most people who run commit directly and have a default push location tend to want to push after every commit (or, at least, be fine with that, and really want to have pushed after the last of a batch). (Of course, there are plenty of users who don't want to push so often, but I bet they either mostly generate commits with git apply, git am, or such, or they don't have a push line and publicize their changes with format-patch.)

Actually, I'm also curious as to how other people generate the series of commits for a patch series, when they've actually got a working directory that contains the end result. I doubt that people actually do their modifications in patch order, committing each time, without writing and testing the end result.

	-Daniel
*This .sig left intentionally blank*
Next: Junio C Hamano
Message 1 of 14 in “[RFC] git-publish”
  1. Daniel BarkalowAug 13, 2006
  2. Junio C HamanoAug 13, 2006
  3. Johannes SchindelinAug 13, 2006
  4. Junio C HamanoAug 13, 2006
  5. Sam RavnborgAug 13, 2006
  6. Fredrik KuivinenAug 13, 2006
  7. Daniel BarkalowAug 13, 2006
  8. Sam RavnborgAug 13, 2006
  9. Alex RiesenAug 14, 2006
  10. Shawn PearceAug 14, 2006
  11. Junio C HamanoAug 14, 2006
  12. Jeff KingAug 14, 2006
  13. Martin LanghoffAug 13, 2006
  14. Petr BaudisSep 24, 2006

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.