Golden rule of rebase #122
-
Could change ids make it safer and easier than git to rebase published branches? https://www.atlassian.com/git/tutorials/merging-vs-rebasing#the-golden-rule-of-rebasing |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Yes! Once Change IDs are preserved across push/pull, it will be easy to automatically rebase commits from the old commit onto the new when you pull a rewritten commit from somewhere. This is very similar to what Mercurial's Changeset Evolution feature does, and it lets us (I'm a Mercurial developer) rewrite commits in shared repos without much issue. This question is very much related to #111, which I filed just 2 days ago. I need to implement that feature first, which will provide some nice improvements even before Change IDs are propagated on push/pull. The bigger issue is how to propagate Change IDs on push/pull. As I mentioned in #111, that can be done by including the Change ID in the commit message itself like Gerrit does with its |
Beta Was this translation helpful? Give feedback.
-
@martinvonz
Is |
Beta Was this translation helpful? Give feedback.
-
This is actually a good thing. Pijul stores too much information. When I import the WordPress Git repo, which is about 136Meg, it is over 1Gig in Pijul. It is unmanageable.
This is the question I have about |
Beta Was this translation helpful? Give feedback.
Yes! Once Change IDs are preserved across push/pull, it will be easy to automatically rebase commits from the old commit onto the new when you pull a rewritten commit from somewhere. This is very similar to what Mercurial's Changeset Evolution feature does, and it lets us (I'm a Mercurial developer) rewrite commits in shared repos without much issue.
This question is very much related to #111, which I filed just 2 days ago. I need to implement that feature first, which will provide some nice improvements even before Change IDs are propagated on push/pull.
The bigger issue is how to propagate Change IDs on push/pull. As I mentioned in #111, that can be done by including the Change ID in th…