<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Mark,<div class=""><br class=""></div><div class="">What is the output of git status when it fails? Any files that are marked staged/uncommitted?</div><div class=""><br class=""></div><div class="">I’ve found that rebase will only work out of the box if your branch history is completely linear, i.e. no merge commits in between. If there are merge commits then git is not always able to resolve them. If this is the case then when the rebase fails at some commit some of the files will be staged with the changes from both commits that you must __manually__ reconcile.</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best regards,<br class=""><br class="">Jacob Faibussowitsch<br class="">(Jacob Fai - booss - oh - vitch)<br class="">Cell: (312) 694-3391</div></div>

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Dec 6, 2020, at 14:22, Mark Adams <<a href="mailto:mfadams@lbl.gov" class="">mfadams@lbl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I am doing a rebase -i to squash commits and even if I do nothing git tris to apply about 7) commits, but starts to fail at #41 and if I try to --skip it it starts failing on every one. The error message is not very useful to me:<div class=""><br class=""></div><div class="">15:15 adams/landau-gpu-assembly> ~/petsc$ git rebase -i HEAD~5<br class="">error: could not apply a8e4255... Add test of PCASMSetSubMatType with nonlinear problem<br class=""><br class="">When you have resolved this problem, run "git rebase --continue".<br class="">If you prefer to skip this patch, run "git rebase --skip" instead.<br class="">To check out the original branch and stop rebasing, run "git rebase --abort".<br class="">Could not apply a8e4255... Add test of PCASMSetSubMatType with nonlinear problem<br class=""></div><div class=""><br class=""></div><div class="">Any ideas?  Maybe rebase over master first?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Mark</div></div>
</div></blockquote></div><br class=""></div></body></html>