<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 17 gen 2019 alle ore 18:15 T Lee Davidson <<a href="mailto:t.lee.davidson@gmail.com">t.lee.davidson@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 1/17/19 9:00 AM, Benoît Minisini wrote:<br>
> Le 17/01/2019 à 13:17, Gianluigi a écrit :<br>
>> Yesterday I was rereading the gambas wiki about the collaboration [0] and I had the stupid idea to try the "git pull upstream<br>
>> master" command.<br>
>> Now I find myself in this situation (look here [1]) and I suppose that if I had to make a merge request for some new<br>
>> translation the old 85 files would be inserted again.<br>
>> How can I get to delete this "Pushed to branch" triggered by the "git pull upstream master" command without doing any damage?<br>
>><br>
>> [0] <a href="http://gambaswiki.org/wiki/howto/contribute#t6" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/howto/contribute#t6</a><br>
>> [1] <a href="https://gitlab.com/GianluigiOr" rel="noreferrer" target="_blank">https://gitlab.com/GianluigiOr</a><br>
>><br>
>> Regards<br>
>> Gianluigi<br>
>><br>
>><br>
>> ----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
>><br>
> <br>
> You can delete your projet and recreate it from scratch. You won't loose anything as soon as everything has been merged in the<br>
> Gambas master.<br>
> <br>
> If you have new translations on your local disk, just keep the *.po files, and copy them by hand to your new project.<br>
> <br>
> Regards,<br>
> <br>
<br>
You should also be able to roll back to a previous state by doing a hard reset. It involves resetting your local copy and then<br>
pushing the new, reset state back to Gitlab. I've done it; always wondering if I was going to mess something up. But, it worked<br>
just fine.<br>
<br>
<a href="https://stackoverflow.com/questions/1616957/how-do-you-roll-back-reset-a-git-repository-to-a-particular-commit" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/1616957/how-do-you-roll-back-reset-a-git-repository-to-a-particular-commit</a><br>
<a href="https://stackoverflow.com/questions/1223354/undo-git-pull-how-to-bring-repos-to-old-state" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/1223354/undo-git-pull-how-to-bring-repos-to-old-state</a><br>
<a href="https://stackoverflow.com/questions/10196668/git-rollback-1-pull" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/10196668/git-rollback-1-pull</a><br>
<br>
General Git tips: <a href="http://rogerdudler.github.io/git-guide/" rel="noreferrer" target="_blank">http://rogerdudler.github.io/git-guide/</a><br>
<br>
<br>
However, probably the simplest and least stressful solution is to just do as Benoît suggested.<br>
<br>
<br>
___<br>
Lee<br>
<br></blockquote><div><br></div>Thank you both for the suggestions.<br>Lee forgive me but, having already created too many trouble, I chose the suggestion of Benoit and now I feel lighter. :-)<br>I think I'll have to change the avatar with a crying goat. :-(</div><div class="gmail_quote"><div><br></div><div>Regards</div><div>Gianluigi<br></div></div></div></div></div></div>