[Qgis-developer] forced update on the repo?

Matthias Kuhn matthias.kuhn at gmx.ch
Mon Jan 13 01:31:46 PST 2014


On 01/13/2014 10:25 AM, Nyall Dawson wrote:
>> - Attention: After a rebase you need to "git push -f". CORE DEVS: IF YOU DO
>> THIS ON THE UPSTREAM REPOSITORY YOU WILL BRING CAKE FOR EVERYBODY TO THE
>> NEXT HF!
>>
> I haven't been doing this -- are you saying I should be doing this or not?
>
> Nyall
You should NOT do this (and I did not want to say that you did)

"git push -f" is potentially dangerous (because it actually does edit 
the commit history and should not be used on shared repositories).
As I advised people to do this under certain circumstances (in a feature 
branch), I felt obliged to print a warning, where it should not be used.

Matthias


More information about the Qgis-developer mailing list