OOOOPS

Jaroslaw Staniek staniek at kde.org
Wed Jan 21 18:50:50 GMT 2015


Other advices:
Use git-new-workdir (explained on this list and on the wiki)
Use git pull -rebase


On Wednesday, 21 January 2015, René J.V. <rjvbertin at gmail.com> wrote:
> On Wednesday January 21 2015 18:38:25 Stefano Bonicatti wrote:
>
>> You didn't reverted commits, you had an "old" branch apparently and did a
>> merge of your fix instead of a fast-forward (if you look carefully to the
>
> 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.
>
>> I think that unless someone wants to clean the history with the "bad git
>> push -f" there's nothing to be done (but i'm no boss here :P).
>
>
>> I don't know how you normally do your stuff but:
>
>>
>> 1) git checkout calligra/2.9
>> 2) git pull (here we update calligra to the latest commits already
pushed)
>> 3) git checkout branchwithfix (branch that even before your fixes may not
>> be in sync with calligra/2.9)
>> 4) git pull --rebase . calligra/2.9 (put your fix/fixes on top of
>> calligra/2.9 commits)
>> 5) git checkout calligra/2.9
>> 6) git merge branchwithfix
>> 7) git push
>
> 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.
>
> I think I should be able to rebase on the commit just before mine, then
apply my local change and recommit, correct?
>
> R.
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>

-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20150121/db60594b/attachment.htm>


More information about the calligra-devel mailing list