From: Jakub Narebski <jnareb@gmail.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: Avery Pennarun <apenwarr@gmail.com>, git@vger.kernel.org
Subject: Re: nicer frontend to get rebased tree?
Date: Sat, 23 Aug 2008 11:21:39 +0200 [thread overview]
Message-ID: <200808231121.41694.jnareb@gmail.com> (raw)
In-Reply-To: <20080823071552.GU23334@one.firstfloor.org>
Andi Kleen wrote:
> Jakub Narębski wrote:
> >
> > BTW. it is stated countless time in documentation that published
> > history should be not rebased, barring some extenuating
> > circumstances
>
> Yes and people countless times ignore that recommendation and do
> it anyways (for good reasons). And then other users
> have to deal with these rebased trees somehow.
If you are thinking about 'linux-next', it is exception rather than
the rule.
Besides, Git is feature rich and allows many different workflows, so
you should _always_ read the Development/Contributing document for
specific project, if it exists. (See also explanation below on
different workflows).
> Anyways it is all solvable but right now ill supported
> in standard commands and the documentation does not really
> cover it. I was just asking (mostly for others to avoid
> going through the same pain as me) for that to be improved
> so that git becomes easier to use.
>
> Sadly you guys don't even seem to want to recognize there
> is a problem :-(
First, there isn't just _one_ way to deal with non fast-forward
(rebased) branch; there are many possible workflow wrt rebasing.
There can be something like 'pu' (proposed updates) branch in git
repository, which is basically read-only, rebuild from scratch merging
branch gathering topic branches which are not ready yet for 'next'
(for development branch), like work in progress and the like. It is
here to be able to view/examine those topic branches, without crowding
public branch namespace. In short: it is only to view.
Workflow:
$ git fetch origin OR git remote update
Then there is something like 'linux-next' tree, which is also rebuild
from scratch, and as far as I understand serves as gathering point for
different patches being prepared to enter Linux, and to resolve
conflicts early. It is, if I understand correctly, to check if it
compiles and doesn't have bugs, and to test merging your work; _not_
to base your own work on.
Workflow:
$ git fetch origin OR git remote update
$ git checkout origin/master # detaches HEAD / not on any branch
Finally (or not: perhaps there are yet different workflows involving
history rewriting) there are projects which use rebase based workflow.
The information about it should be on project homepage (or wiki).
Workflow:
$ git pull --rebase # or configure it: branch.autosetuprebase etc.
Second, this is open source. If you feel that documentation needs
improvement, now that you have all this information, you can simply
send patch either to manpages, or to Git User's Manual. Trolling won't
work ;-P
--
Jakub Narebski
Poland
next prev parent reply other threads:[~2008-08-23 9:22 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 17:46 nicer frontend to get rebased tree? Andi Kleen
2008-08-22 17:55 ` Linus Torvalds
2008-08-22 18:27 ` Andi Kleen
2008-08-22 19:36 ` Linus Torvalds
2008-08-22 20:11 ` Paolo Ciarrocchi
2008-08-22 20:33 ` Linus Torvalds
2008-08-22 20:36 ` Björn Steinbrink
2008-08-22 20:46 ` Paolo Ciarrocchi
2008-08-22 20:29 ` Linus Torvalds
2008-08-22 21:23 ` Junio C Hamano
2008-08-23 7:10 ` Andi Kleen
2008-08-23 9:24 ` Paolo Bonzini
2008-08-23 16:36 ` Andi Kleen
2008-08-23 23:00 ` Paolo Bonzini
2008-08-23 15:55 ` Linus Torvalds
2008-08-23 16:45 ` Andi Kleen
2008-08-23 17:58 ` Linus Torvalds
2008-08-25 9:36 ` Ingo Molnar
2008-08-23 18:18 ` Björn Steinbrink
2008-08-23 18:56 ` Linus Torvalds
2008-08-23 20:08 ` Björn Steinbrink
2008-08-23 21:38 ` Documentating branches (was: nicer frontend to get rebased tree?) Marius Vollmer
2008-08-23 22:17 ` Miklos Vajna
2008-08-23 22:30 ` Documenting branches Marius Vollmer
2008-08-23 22:18 ` Documentating branches Marius Vollmer
2008-08-22 17:56 ` nicer frontend to get rebased tree? Avery Pennarun
2008-08-22 18:31 ` Andi Kleen
2008-08-22 19:03 ` Paolo Ciarrocchi
2008-08-22 19:34 ` Jakub Narebski
2008-08-23 7:15 ` Andi Kleen
2008-08-23 8:52 ` Paolo Ciarrocchi
2008-08-23 9:21 ` Jakub Narebski [this message]
2008-08-23 16:53 ` Andi Kleen
2008-08-23 21:04 ` Paolo Ciarrocchi
2008-08-23 21:52 ` Linus Torvalds
2008-08-23 22:09 ` Paolo Ciarrocchi
2008-08-23 22:13 ` Björn Steinbrink
2008-08-24 0:30 ` Junio C Hamano
2008-08-23 22:49 ` Jakub Narebski
2008-08-23 23:01 ` Theodore Tso
2008-08-23 23:01 ` A proposed solution (Was: nicer frontend to get rebased tree?) Theodore Tso
2008-08-22 20:11 ` nicer frontend to get rebased tree? Mikael Magnusson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200808231121.41694.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=andi@firstfloor.org \
--cc=apenwarr@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).