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

Re: [RFC] checkout --rebase

From
Sebastian Staudt <koraktor@gmail.com>
Date
Jul 19, 2013, 10:48 UTC
Message-ID
<CA+xP2SbHD+MU4K0JBbZdA6bWQFQerBi5mWA+7G9=tBksjp+LXw@mail.gmail.com>
In-Reply-To
<CALkWK0m-ZpVvvgAB_yzooah0=veeNDudahs=4ur2YHN03h-h4g@mail.gmail.com>
Isn't this what you want?
 $ git rebase master um-build
2013/7/19 Ramkumar Ramachandra <artagnon@gmail.com>:
Show 26 quoted lines
> Hi,
>
> I'm often work on small topic branches, and find myself doing this quite often:
>
>   # on branch master
>   $ git checkout um-build
>   $ git rebase master
>
> This is horribly inefficient; the first operation takes a _really_
> long time to complete, since master updates itself very often and I
> have to check out an old worktree.  So, I work around this issue by
> doing:
>
>   # on branch master
>   $ git checkout -b um-build-2
>   $ git cherry-pick ..um-build
>   $ git branch -M um-build
>
> ... and I scripted it.  Perhaps we should get this functionality in
> core, as `git checkout --rebase` (or something)?
>
> Thanks.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 2 of 6 in “[RFC] checkout --rebase”
  1. Ramkumar RamachandraJul 19, 2013
  2. Sebastian StaudtJul 19, 2013
  3. Ramkumar RamachandraJul 19, 2013
  4. Ramkumar RamachandraJul 19, 2013
  5. Ramkumar RamachandraJul 19, 2013
  6. Ramkumar RamachandraJul 19, 2013

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.