Other advices:<br>Use git-new-workdir (explained on this list and on the wiki)<br>Use git pull -rebase<br><br><br>On Wednesday, 21 January 2015, RenĂ© J.V. <<a href="mailto:rjvbertin@gmail.com">rjvbertin@gmail.com</a>> wrote:<br>> On Wednesday January 21 2015 18:38:25 Stefano Bonicatti wrote:<br>><br>>> You didn't reverted commits, you had an "old" branch apparently and did a<br>>> merge of your fix instead of a fast-forward (if you look carefully to the<br>><br>> Yes, that I know. For once I followed git's commands because I had already committed my point-change locally, and *thought* (naively...) that git would do the most logical thing.<br>><br>>> I think that unless someone wants to clean the history with the "bad git<br>>> push -f" there's nothing to be done (but i'm no boss here :P).<br>><br>><br>>> I don't know how you normally do your stuff but:<br>><br>>><br>>> 1) git checkout calligra/2.9<br>>> 2) git pull (here we update calligra to the latest commits already pushed)<br>>> 3) git checkout branchwithfix (branch that even before your fixes may not<br>>> be in sync with calligra/2.9)<br>>> 4) git pull --rebase . calligra/2.9 (put your fix/fixes on top of<br>>> calligra/2.9 commits)<br>>> 5) git checkout calligra/2.9<br>>> 6) git merge branchwithfix<br>>> 7) git push<br>><br>> I usually remember to do a git pull before committing local changes. I find it easier to have a git clone and a copy of that as my working directory, and when the above series of commands (each of which does some form behind-the-scenes stuff) I understand why.<br>><br>> I think I should be able to rebase on the commit just before mine, then apply my local change and recommit, correct?<br>><br>> R.<br>> _______________________________________________<br>> calligra-devel mailing list<br>> <a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br>> <a href="https://mail.kde.org/mailman/listinfo/calligra-devel">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br>><br><br>-- <br>regards, Jaroslaw Staniek<br><br>KDE:<br>: A world-wide network of software engineers, artists, writers, translators<br>: and facilitators committed to Free Software development - <a href="http://kde.org" target="_blank">http://kde.org</a><br>Calligra Suite:<br>: A graphic art and office suite - <a href="http://calligra.org" target="_blank">http://calligra.org</a><br>Kexi:<br>: A visual database apps builder - <a href="http://calligra.org/kexi" target="_blank">http://calligra.org/kexi</a><br>Qt Certified Specialist:<br>: <a href="http://www.linkedin.com/in/jstaniek" target="_blank">http://www.linkedin.com/in/jstaniek</a><br>