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

rebase question

From
RSRyan Sun <ryansun81@gmail.com>
Date
Mar 11, 2011, 19:57 UTC
Message-ID
<AANLkTi=8Q+gNSY2jzgMMtPX-JHUy4MUEGNTeK85Ddvys@mail.gmail.com>

I want to rebase the current branch B1 from origin/A1 to origin/A2 so I want to use this command git --onto origin/A2 origin/A1 B1

Q1: is this command right? (A2 is based on A1, current branch is B1,
B1 is already pushed to origin, a remote repo, and I think I will
force push B1 after rebase)
but I accidentally typed
 git --onto origin/A2 origin/A1 origin/A2
and git says
----
First, rewinding head to replay your work on top of it...
Fast-forwarded origin/base to origin/base.
----
Q2:I assume this command is safe and it didn't change anything right?
THANKS IN ADVANCE
Next: Martin von Zweigbergk
Message 1 of 2 in “rebase question”
  1. Ryan SunMar 11, 2011
  2. Martin von ZweigbergkMar 13, 2011

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.