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

will git rebase has side effect

From
YRYubin Ruan <ablacktshirt@gmail.com>
Date
Oct 1, 2017, 13:23 UTC
Message-ID
<CAJYFCiNj22McSaKcCVMDVgah5cAqHYHja_b2jj6VAaAA=zSM1g@mail.gmail.com>
Suppose that I have such a history of commit locally:
A --> B --> C --> D
If I then add a few more commits locally
A --> B --> C --> D --> E --> F --> G

And then I do a rebase and squash F and G into one single commit H. What side effect will this rebase have? How will this affect "git push origin master"?

Yubin
Next: Kevin Daudt
Message 1 of 4 in “will git rebase has side effect”
  1. Yubin RuanOct 1, 2017
  2. Kevin DaudtOct 1, 2017
  3. Yubin RuanOct 1, 2017
  4. Kevin DaudtOct 1, 2017

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.