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

--squash has no effect in git subtree push?

From
Danny Lin <danny0838@gmail.com>
Date
May 4, 2015, 13:58 UTC
Message-ID
<CAMbsUu5g=r867_WOhLCySG3caKj1jhmQgfzBxK4TYV27+nUpsg@mail.gmail.com>
The document says that --squash is for 'add', 'merge', 'pull' and 'push'.

However, it seems that --squash has no effect for push. Am I doing something wrong or is the document outdated?

git version 2.3.7.windows.1
Next: Danny Lin
Message 1 of 3 in “--squash has no effect in git subtree push?”
  1. Danny LinMay 4, 2015
  2. Danny LinMay 7, 2015
  3. Junio C HamanoMay 7, 2015

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.