git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] checkout --rebase
@ 2013-07-19 10:21 Ramkumar Ramachandra
  2013-07-19 10:48 ` Sebastian Staudt
  0 siblings, 1 reply; 6+ messages in thread
From: Ramkumar Ramachandra @ 2013-07-19 10:21 UTC (permalink / raw)
  To: Git List

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-19 12:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19 10:21 [RFC] checkout --rebase Ramkumar Ramachandra
2013-07-19 10:48 ` Sebastian Staudt
2013-07-19 11:10   ` Ramkumar Ramachandra
2013-07-19 11:33     ` Ramkumar Ramachandra
2013-07-19 11:36       ` Ramkumar Ramachandra
2013-07-19 12:31         ` Ramkumar Ramachandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).