TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Stay away from rebase

295 点作者 oneandoneis2大约 12 年前

41 条评论

dexen大约 12 年前
The whole misunderstanding ``git-rebase mangles history'' revolves around the concept of history.<p>For me, history in DVCS should be about <i>logical</i> changes that introduce given feature(s), fix bug(s) etc., and <i>not be</i> about raw, unprocessed changes, <i>not be</i> edition of `physical' bytes. Whenever I make a mistake in a commit (be it a typo, a small bug or perhaps I went in wrong direction and backtracked later on) I either <i>--amend</i> it, or, if it's an earlier commit, <i>git rebase --interactive</i> to fix it.<p>In other words, ask yourself, ``Would this commit stand for a good LKML submission?'' Until it does, it's <i>--amend</i> or <i>git rebase --interactive</i> time. Refactor history just as you refactor code ;-)<p>Of course, once the code is pushed to a shared repo, the genie is out of the bottle and there's no changing it. But that's a different matter.<p>What you want to do is:<p><pre><code> * 1) clean up history with git-pull --rebase, git-rebase --interactive and git commit --amend, * 2) then optionally perform git merge --no-ff --log --edit $your_feature_branch while on $upstream_tracking_branch, to create a new, merge-ish commit that covers the whole new feature you've been working on. </code></pre> This way you have:<p><pre><code> * clean history * logical, standalone commits * complex features introduced by a separate merge-ish commit (which you can git-rollback as whole, if need be). </code></pre> My rule of thumb for the step 2) -- do it when there's three or more commits introducing a particular feature.<p>I perform the step 2) often enough to have created a short wrapper script for it [1].<p>[1] <a href="https://gist.github.com/dexen/f36cb1668b5c04eb5abd" rel="nofollow">https://gist.github.com/dexen/f36cb1668b5c04eb5abd</a><p>[ lotsa small edits for cleanups -- sorry ^^; ]
评论 #5632572 未加载
threedaymonk大约 12 年前
Every complaint I've read about rebase is this same one, over and over, and I think it's based on a false premise.<p>&#62; Rebasing destroys your history, and therefore destroys the point of using a VCS.<p>The answer, of course, is <i>don't do that</i>. Don't rebase public branches, and that includes master and whatever else you're deploying from.<p>In any case, you <i>can't</i> rebase master unless you're willing to force push, and if that hasn't tipped you off to the fact that you've gone off piste, what will?<p>&#62; If you've got an entire history that's been heavily-rebased and your problem is "This bug started happening on Tuesday last week", you have a big problem: You can't just track back through your simple, linear branch until you get to last Tuesday's commits.<p>This hypothetical scenario of last Tuesday's bug therefore makes no sense. You can do exactly that, because you don't rebase history: you rebase work in progress <i>onto</i> the canonical record.<p>In summary, rewriting history would be bad, but that's not what rebase is used for.
评论 #5632390 未加载
评论 #5632405 未加载
calinet6大约 12 年前
Stay away from rebase? What are you nuts?<p>What the hell is everyone doing working on master anyway?<p>Make your own working branch and merge it when it's ready. Don't mess with master if you're working with others.<p>If you are working on master (or merging to master, or doing something with master), merge and push right away, and if someone does something else upstream in-between, then rebase yours on top of it.<p>If you have local changes, and other people pushed changes to your upstream remote, first of all, you should have pulled <i>before making changes</i> (you know that's usually the reason) which would have done a nice fast-forward merge with no merge commit. If your commits are just local anyway, <i>no one cares</i> if you just rebase so it's cleaner! It's equivalent to having pulled first and then made changes. Exactly the same. No one wants to see an unnecessary merge commit anyway, that's just annoying.<p>All of this makes sense. Merge works, rebase works, sometimes they do the same thing, sometimes one's better, sometimes you should just not be dumb.<p>What's the problem? Geez, it's just git.
fmstephe大约 12 年前
I very strongly disagree with this post. But I should be clear that I also strongly disagree with the statement 'always use rebase!'.<p>Merge and rebase are two similar but distinct ways to update a branch in git. They are both appropriate at different times. A very good guide to sensible merge/rebase policy can be found here<p><a href="http://lwn.net/Articles/328436/" rel="nofollow">http://lwn.net/Articles/328436/</a><p>(see also <a href="http://lwn.net/Articles/328438/" rel="nofollow">http://lwn.net/Articles/328438/</a>)<p>I use rebase regularly. I always work on branches other than master, i.e. task and feature branches. I never rebase branches that are shared with other developers - development to these shared public branches is always just adding new commits to a stable history. Merging is important but rebasing is a wonderful tool.<p>With respect to the issue of timestamps, I did not know this and am very glad to learn it, you do have a problem here. My position would be that I would rather throw out the timestamp chronology than abandon rebase. Typically in my experience bugs can, and usually are, tracked against a particular commit, which solves this problem. However, I appreciate that this won't always be the case, but throwing out rebase for this is a high price for a moderate reward IMHO. :)
评论 #5632365 未加载
评论 #5632343 未加载
mseebach大约 12 年前
The issue that I can't figure out, is how to deal with refactors, or more broadly, a codebase that changes. If my feature takes two weeks to develop, when I'm ready to merge, I'm applying my changes to a codebase that's two weeks newer than when I branched. For a merge to be not-painful, the master branch should stay reasonably steady. This, I think, creates a conservative, change-adverse culture, rather than a IMO superior "if it's wrong, fix it, fix it right and fix it now"-culture.<p>If I continuously rebase (and especially after a colleague emails saying he's pushed a big refactor), I can fix these things as and when they happen, and I can feed back to my colleague if something they've done works poorly with what I'm working on, and they can then address that while they still have the context of the rebase in working memory.<p>Finally, I think the history criticism is based on a too narrow view of history, as a single, linear reality. My code might have been weeks in the making, and while it's true I wrote that particular function on Monday, if I didn't push it until Thursday, it simply didn't exist in the world of my peers until then. Merging history so something I wrote on Monday appears as having existed on Monday, even though it didn't and couldn't affect the world until Thursday is also dishonest.
评论 #5633883 未加载
评论 #5633769 未加载
tomp大约 12 年前
Hm... I think this post is rather myopic and very specific for the author's workflow.<p>&#62; "This bug started happening on Tuesday last week" [...] If you aren't aware of this and you start running your "git bisect" using your "good" base as the last commit made on Monday last week [...]<p>Well, or you could find the first commit on Tuesday last week and start with its parent. Or, better yet, have "releases" tagged or at least have a log of deploys (timestamps, commits); what if I developed something on Sunday and pushed it to production on Tuesday?<p>&#62; You only get the plethora of merges if you're using git wrong.<p>I've seen it in real-world codebases. Some people just don't know how to use git very well (either can't understand it, or don't try to), and produce ugly history. I agree that for "noobs" it's better to merge than to rebase (less opportunities for failure), but good developers should know there's a place for both `rebase` and `merge`.<p>&#62; And you do have a problem, because not only are you writing crap code, but you're committing it as well!<p>Well, one idea of git is to "commit early, commit often". It's much better to commit bugs and then commit fixes as well than to not commit and loose a bunch of code (due to a mistake or hardware failure).<p>I use rebase often. I should probably commit more often. Everyone has their own way, and we can all learn other ways and improve our work and life. But getting all angry and upset because someone uses rebase more often than you is an ineffective way to learn.
lmm大约 12 年前
&#62;If you're consistently writing buggy code and rebasing to fix it, then you're coding badly. Don't fix the symptom by rebasing endlessly, figure out your problem. And you do have a problem, because not only are you writing crap code, but you're committing it as well!<p>&#62;Look closer at your diffs. Write more unit tests. Run them more often. Whatever, figure out what you need to do to avoid routinely making bad commits.<p>I disagree with this. Git is fast enough that you can commit early and often - more often than you can afford to run unit tests, even. I find it very useful to be able to commit each minor change of direction; half my commits don't even compile (I also believe in using strong type systems and the "compile error tells me what I need to change next" approach). If I need a "clean" history for review or similar (though honestly I don't see why you would - just review the differences between the branch head and branch base) I can always squash those commits thanks to git's nice history-rewriting features.
评论 #5632385 未加载
评论 #5632328 未加载
btipling大约 12 年前
Merge commits are more than just a cosmetic issue. If you have merge commits from pulling master into your working branch you have broken the relationship of the commits which you just merged into your branch from master. Once you merge your branch into master, these changes you pulled in will now appear to be changes that were part of your branch.<p>So say you have your branch, Sally's branch, and master. You create a branch from master, and then Sally merges her changes into master, and then you pull those changes in, when you merge your branch into master it will look like Sally's changes came from your branch. If something went wrong and you revert your merge all of Sally's changes get taken out of master. Yup.<p>Not being able to do a clean revert of all the changes is just one problem with pulling master into your branch, another problem is being able to tell just what in the hell you are about to push to production. If you have merge commits your change diff may include all kinds of stuff already deployed, in which case you have to do a manual diff of the code deployed and what's in master instead of just relying on what the merge commit tells you.<p>So please rebase.
评论 #5632180 未加载
评论 #5632550 未加载
uuilly大约 12 年前
What is with these preachy headlines? "Why you should..." "Please use ..." "Please stay away from..."<p>It's very presumptuous to assume that you know the intricacies of thousands of developers' workflows well enough to tell them how to do thier jobs.
评论 #5634022 未加载
kailuowang大约 12 年前
&#62; Rebasing destroys your history, and therefore destroys the point of using a VCS.<p>I don't think this is true. Rebase, as the name suggests, simply rebase the starting point of your local history. It preserves your history better than that merge commit and having your series of commits intertwined with commits from other people implementing features not related to yours.<p>Rebasing also makes merging even easier, because now merging is done on a commit by commit granularity rather than branches. This also preserves the history better.<p>It's funny that the main rational for most people to use rebase is that it provides better history and this article is arguing that it does the exact opposite without carefully comparing the history in both scenarios. His only argument is that it's not "Real", but what we really care about is "clear" history, not necessarily whose commits come first.
32bitkid大约 12 年前
I was with the author until he/she got to the point of saying "bug started last tuesday". I don't know any serious development/testing teams that think like that, nor any developer that would search by day to find a bug.<p>Its much more likely to hear "the bug was in build 'x.y.z'" to which the next question is which build was green, and then bisect from there.<p>Searching for commits on tuesday because a tester happens to notice a bug on tuesday is a recipe for disaster... Or at least a completely wasted work day.
Xurinos大约 12 年前
Rebase is for cleaning up history. Merge is for introducing new features. Use the best tool for the job.<p>Always "git pull --rebase"; it is fast, easy, and meaningful. You can change the default configuration and probably should; same goes with other tools like emacs and vim.<p>Worried about date rearrangements? For those few situations where it is important, git log --since="$DATE_OF_LAST_TUESDAY".
评论 #5632478 未加载
kderbe大约 12 年前
"If you've got an entire history that's been heavily-rebased and your problem is This bug started happening on Tuesday last week", you have a big problem: You can't just track back through your simple, linear branch until you get to last Tuesday's commits. You have to keep going back until you're absolutely certain there are no other commits further back in the history that are newer chronologically."<p>I think the author is mistaken. As mentioned by jedbrown, git has a separate AuthorDate and CommitDate, and rebase updates the CommitDate. You can see them both using:<p><pre><code> git log --format=fuller </code></pre> Furthermore, when you use @-limiting to filter logs by date, the CommitDate is used. For example, if you have a bug that started last Thursday, you can show all the commits that were either written or rebased since then with:<p><pre><code> git log HEAD@{last.thusday}..</code></pre>
评论 #5635810 未加载
khasinski大约 12 年前
Why would someone take one of the most important features of git (local history) and throw most of it away by abandoning ability to edit it?<p>If you pushed a broken commit push another fixing it, just like in merge-based workflow.<p>Having dates switched is not important, having four different branches on said Tuesday gives you a lot headache searching who introduced a bug. And git bisect won't help you. ;)
dsjoerg大约 12 年前
As an experienced developer and a git noob, this article makes much more sense to me than the plea to use rebase all the time.
评论 #5632616 未加载
评论 #5631864 未加载
评论 #5632706 未加载
dasil003大约 12 年前
This is a well-written article and it makes a compelling case, but it hand-waves away the benefits of a linear history by blaming the user for "doing it wrong" in some ill-defined way. The fact is even if you are doing it "right" with strict topic branches you still can get very hairy unbisectable conflicts that would be easier to reason about with a rebased history. Let's look at specific statements:<p>&#62; <i>In our simple one-off examples above, this is no big deal. If you've got an entire history that's been heavily-rebased and your problem is "This bug started happening on Tuesday last week", you have a big problem: You can't just track back through your simple, linear branch until you get to last Tuesday's commits. You have to keep going back until you're absolutely certain there are no other commits further back in the history that are newer chronologically.</i><p>This has literally never come up for me in 5 years of using git because if you are looking at bugs that were introduced at a certain point of time you aren't looking at commit timestamps anyway. The important thing was when was the commit deployed (in the case of production bugs) or pulled (in the case of development bugs).<p>&#62; <i>The whole reason to use a VCS is to have it record your history. Rebasing destroys your history, and therefore destroys the point of using a VCS.</i><p>That is a complete non-sequitur. Rebasing doesn't destroy history, it rewrites it. It's no different from accepting a patch via email. Or writing down a ticket that your going to make x change then y change then z change. The fact is VCS is a tool. Git gives you incredible power to curate history, and understanding of how to use this power in the here and now can make for a more understandable future. Rebasing is potentially just an extension of not breaking the build by committing half a feature.<p>&#62; <i>The "simple linear history" is a lie. The branched history might not be as pretty, but it's an accurate representation of what happened.</i><p>A linear history has real mathematical benefits that I wrote about at <a href="http://darwinweb.net/articles/the-case-for-git-rebase" rel="nofollow">http://darwinweb.net/articles/the-case-for-git-rebase</a>. In practice I've done things both with a topic-branch orientation and a rebase-to-master orientation, and I understand both intimately, and a rebased linear history does not destroy nearly as much information as this article would have you believe. You can still see when a commit was written in addition to when it was rebased which provides most of the value of seeing the whole branch structure (which incidentally is not a magic oracle into the developer's mindset either—there is always out-of-band information).<p>The idea that the git tree be immediately frozen and never-changing after every single commit is an unnecesarily rigid perspective. It works perfectly well in practice to imagine rebasing as the developer having implemented their topic branch instantaneously based on the current state, and resolving conflicts on a commit-by-commit basis rather than accumulating them into one opaque merge commit.<p>&#62; <i>It's so tempting to stay on master, to think "It's just a quick fix, it's not worth branching for!"</i><p>You can have your cake and eat it too. Just do `git branch new_topic; git reset --hard origin/master`. There's no reason to branch prematurely because there's nothing to stop you from branching any time. This is the thing about <i>distributed</i> version control, and git in particular, you do whatever makes sense locally and you don't need to care at all what anyone else is doing until you fetch.<p>&#62; <i>Because if you keep your work on the main branch and you frequently commit bad code, then the day will come when you hit the absolute no-no of rebasing: You'll push a bad commit to a remote, and then you'll be stuck because you absolutely must not rebase published history.</i><p>In that case you simply push your fix. Why does a rebase-based workflow lead this to be a catastrophe? It doesn't matter what workflow you are using, you will push a bug eventually, then you will fix it.<p>&#62; <i>The best thing that could happen to rebase is that it gets relegated to "power tool that you don't find out about until you're a git wizard" because far too many people use it as a crutch to support their ability to use git without understanding it.</i><p>I'll agree here, you shouldn't use rebase if you don't know what you're doing with git. New users should definitely be forced to work entirely with merge and possibly --no-ff to get the basics of how git works. Rebasing is a power user feature, but it's not difficult to understand if you understand git fundamentals. That is if you understand commits and trees and branches, if you don't then it's way too sharp a tool.<p>&#62; <i>If you use rebase more than once a week, I maintain that you have a problem. It might be hard to spot, it might be rough on your ego, but that's my opinion.</i><p>Rebasing is just a tool. Maybe someone likes to commit every file and then curate with rebase -i, who are you to tell them their doing it wrong? You certainly haven't demonstrated that with a bunch of strawman arguments about committing buggy code or that direct collaboration on a feature should axiomatically happen via pairing vs any other method. All of this is just a distraction to the core questions: what are the pros and cons of rebasing? What history is destroyed by rebasing? What are the advantages of branched history vs linear history?
评论 #5632671 未加载
评论 #5636058 未加载
ssoroka大约 12 年前
No no no. Rebase is an important tool that should be used for cleaning up pre-pushed history, and should be avoided on commits pushed to branches that other people pull from.
Myrmornis大约 12 年前
This article is pretty much the correct response to the pull --rebase discussions. No need for it -- you should be using a branch.<p>But I'm not sold on no rebase at all: a common workflow for me is commit often while getting something working, then rebase 4 or 5 commits into a presentable unit (using magit). I have to admit I hadn't noticed that the timestamps were preserved by rebase. And there doesn't seem to be a rebase option that tells git to create new timestamps with chronological order matching the new commit order? I could use `filter-branch`, but it seems heavyweight.<p>One other criticism of the article:<p>&#62; A soft reset back to origin's HEAD, and then re-commit your work<p>That leads to errors: if you've added new files, you may very well forget to add the same set again after the soft reset.
评论 #5636032 未加载
kalms大约 12 年前
If people are still struggling with this, I can recommend looking into the git flow model. You can read more here: <a href="http://nvie.com/posts/a-successful-git-branching-model/" rel="nofollow">http://nvie.com/posts/a-successful-git-branching-model/</a>
janus大约 12 年前
Please, stay away from not using caching with static websites.
评论 #5631904 未加载
zobzu大约 12 年前
"please understand wtf you're doing" "please read the docs" sums both articles up ;-)<p>if you don't get what its doing underneath, you'll never get it right. yes, effort is needed.
sofal大约 12 年前
I've found that when teaching people Git, the most important thing is that they understand the state of their DAG, since that is at the core of everything we do in Git. A confusing DAG full of unnecessary merge commits is much worse for a beginner than exposing them to rebase.<p>Git lends itself as a development tool as well as a version tracker, and rebase is an important part of that for both beginners and experts.
trevorhartman大约 12 年前
To rebase or not is a religious war. Also on HN today/yesterday: - git pull --rebase until it hurts: <a href="http://jrb.tumblr.com/post/49248876242/git-pull-rebase-until-it-hurts" rel="nofollow">http://jrb.tumblr.com/post/49248876242/git-pull-rebase-until...</a> - Please, oh please, use git pull --rebase <a href="https://coderwall.com/p/7aymfa" rel="nofollow">https://coderwall.com/p/7aymfa</a> I've seen a ton of posts like this on both sides.<p>The non-chronological history is unfortunate. In practice, when `git pull --rebase`ing several times per day the way we do, commits will only end up a few minutes out of order, which won't affect queries like `git log --since=1.week.ago`.<p>One of the things we optimize for is early integration. I conceptually like his recommendation, but I think it'd slow us down since we're always depending on each others' commits.<p>&#62; Don't fix the symptom by rebasing endlessly, figure out your problem. And you do have a problem, because not only are you writing crap code, but you're committing it as well!<p>Translation: make sure your code is perfect before you commit. That's ridiculous.<p>&#62; You really, really need to collaborate in real-time with another dev. and so must share all your code? At this point you're pair-programing - maybe look up GNU screen &#38; its 'acladd' command to allow you to share a terminal with your collaborator. Or just tell each other when you're about to commit.<p>False and ridiculous.<p>I am a fan of heavily rebasing non-public history. Non-public obviously meaning local branches, but also, a loose definition for us is a public branch that you own and are confident no one else is working on. (If GitHub let us fork private repos without counting against our private repo limit, we could have true private remote branches). Sometimes I commit things very cleanly, creating separate commits for each concern, and sometimes I don't. When I don't, I'll often do a quick interactive rebase to re-group changes into logical commits–the purpose being a clean history that makes it easy to read/revert/cherry-pick/bisect specific, individual changes.<p>So there are pros and cons to both philosophies - it just depends on what you're optimizing for. This guy is writing in support of his particular needs, but makes the mistake of asserting they are the best or only.<p>Also, I think a future version of git could address the non-chronological history issue, which was the only con I'm aware of.
chippy大约 12 年前
For me the posts arguing in favour of using rebase explain why much more clearly than the posts favouring avoiding using it.
just2n大约 12 年前
Rebuttal: why not use tags to identify your major revisions and feature work? This way your bisect is rooted on feature releases or versions, rather than relying on git log --since.<p>It appears the time aspect is the primary argument presented, and I wouldn't consider using a workflow that didn't tag revisions, so I don't consider that an issue.
klj613--大约 12 年前
Please use rebase... but only if you understand it!<p>Do not commit to your commits...<p>I experiment on branches... I use commits as stashes... I end up with 100s of local branches...<p>-<p>Only rebase non-shared commits.<p>Normally people say "dont rebase pushed branches" but what if you merged your local branch into a different branch which is pushed? them commits are already shared...<p>Then again.. I would rebase branch X but because branch Y was branched off X I also rebase branch Y onto the new X.<p>-<p>I even rebase pushed branches, because they are _my_ branches.<p>-<p>To those who say rebase is a "lie".. I say don't commit to your commits... do you commit each time you hit the keyboard? well that is history which _could_ be captured for the sake of useless history...<p>-<p>Before merging cleanup your branch so it is clear what the branch is doing and add in more useful commit messages (use the body of the message, not just the subject).<p>-<p>Do you end up with a load of local changes which are hard to give clear commit messages to? so you end up doing "git add ." instead? then you should be committing more often.
willvarfar大约 12 年前
&#62; Error establishing a database connection! &#62; (mysql_connect(): User oneandon_oneone2 already has more than 'max_user_connections' active connections)<p>I wonder why you have a website that needs mysql to render, and why you appear to be leaking the connections...<p>This problem was solved ages ago by the likes of CityDesk.
评论 #5632121 未加载
canadev大约 12 年前
Mirror: <a href="https://gist.github.com/anonymous/5488616/raw/019c5fbfad1c1616ff863634316c103c5a621721/gistfile1.txt" rel="nofollow">https://gist.github.com/anonymous/5488616/raw/019c5fbfad1c16...</a><p>Anyone know how to make gist do word wrap with textfiles?
评论 #5632279 未加载
nolok大约 12 年前
Giving tech recommendation while using the deprecated since several years mysql extension is funny, if nothing else.
评论 #5633299 未加载
kbenson大约 12 年前
I learned it as rebase on branch, merge to master. Is it too much to assume, this being git with it's focus on branches, that what the original pro-rebase article was espousing was to rebase on branches so the merge back to the parent was cleaner? What am I missing here?
kclay大约 12 年前
As someone that has used for years but never in a team settings it amazes me what I don't know about using git to its fullest. Were would one start to learn about proper use of git in a team setting... just in case I it ever happens.
robot大约 12 年前
the use of rebasing is simple: You have contributors and one committer. The committer is also a developer whose branch can have changes anytime. The contributors must rebase on committer's main branch so that the committer can do a fast forward, clean merge when the time to merge comes.<p>Clean upstream merge is important, since you have multiple committer's who are contributors to a bigger branch. The hierarchy goes on and on until the top (e.g. linus torvalds). So rebases are a way of achieving clean upstream merges, and it becomes more important when you have many levels of hierarchy.
parnas大约 12 年前
gosh now I know even less about rebase than I did before, which was nothing...
kaens大约 12 年前
"Do whatever the hell you want with your git repo until it's public, at which point continue, but don't rewrite public history".
joeblau大约 12 年前
This is Hacker News at it's finest. One post says use rebase, the next post says don't.
lightyrs大约 12 年前
Do people not know about git merge --no-ff?
gdubya大约 12 年前
Please, stay away from MySQL
quotha大约 12 年前
I totally agree rebase is not needed, and used incorrectly a lot of the time.
cLeEOGPw大约 12 年前
I avoid frequent merging this way: 1. Make my changes. 2. try git pull, if succeeded - no merges needed, no merge in history. 3. Commit changes. 4. git push.
mindbat大约 12 年前
Can't agree more. I never use rebase; the author's contention that using rebase is a sign that you've f@cked something up is spot on.
colanderman大约 12 年前
There's an elephant in the room that he missed.<p>Rebase breaks bisect.<p>If you have a sequence of patches, wherein each patch compiles cleanly, and you merge it with another sequence of patches, you <i>still</i> have a sequence of patches that compiles cleanly.<p>If however you <i>rebase</i> your sequence of patches onto another sequence, and this introduces build errors (not uncommon), bisect <i>no longer works</i> on this segment of history, <i>even after</i> you fix the build issues with a final "cleanup" patch.<p>Rebase destroys semantic history. Merge preserves it.<p>EDIT: whomever downvoted me, care to explain what's wrong with my reasoning?
评论 #5632897 未加载
评论 #5632890 未加载
评论 #5633034 未加载
评论 #5637651 未加载