Package: dgit
Version: 12.6
Severity: normal
File: /usr/bin/dgit
I was asked in pers.comm about rebasing a branch from dgit clone, as
part of the dgit-nmu-simple workflow.
Our current comments about rebasing are a bit elliptical; dealing simultaneously with detailed situtations, but also doing so vaguely.
I think we ought to state more directly the basic principles.
Something like this:
You can treat the dgit/sid branch you end up on as a normal local
git branch tracking an upstream branch. So you can rebase your local
changes that you haven't pushed anywhere, as normal.
The one thing that's weird is the quilt fixup commits (that turn up
if you do eg dgit sbuild), and the thing you need to know is that if
it's OK for you to be rebasing them at all, you can and should just
dreop them.
All of this follows from an underlying fact, which is that dgit
doesn't have any magic state somewhere. So if you rebase away the
quilt fixup, and rework your branch, the result must be fine because
it looks *just like* it would do if you'd just made those commits
straight off. (NB git-debrebase *does* have weird off-branch state.)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (3 / 13) |
Uptime: | 17:57:16 |
Calls: | 9,542 |
Calls today: | 2 |
Files: | 13,653 |
Messages: | 6,139,890 |