On 14 July 2017 at 08:21, Richard Hipp <d...@sqlite.org> wrote:
> On 7/14/17, jungle Boogie <jungleboog...@gmail.com> wrote:
>>
>> The command to edit commits after they've been commited is amend:
>> https://www.fossil-scm.org/index.html/help?cmd=amend
>>
>> example:
>> fosisl amend abc123 --tag fossiliscool
>>
>>
>> As you see, that command allows you to edit quite a bit from the
>> command line after a commit happened.
>>
>
> But amend will not move a check-in to a different branch.  All amend
> can do is change tags.  Moving a check-in to a different branch
> fundamentally changes the check-in.

Ah, right you are!

>
> Reparenting won't work either.  Reparenting just changes the ancestors
> of the check-in.  It does not change the content of the check-in so
> that it contains the desired content from the other branch where it
> was suppose to occur in the first place.
>
> Cherrypicking the check-in over to the correct branch is the only way
> to do this.
>

All good points.

Sorry to have added confusion to this.

>
> --
> D. Richard Hipp
> d...@sqlite.org


-- 
-------
inum: 883510009027723
sip: jungleboo...@sip2sip.info
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to