In this case, we are trying to squash a branches commits, and then force 
push this to a branch. This is then rejected, when as I understand the 
permission model, it should be allowed.

After your suggestion, we have also tried to rebase a branch and force push 
it, however this is also rejected.

On Wednesday, 16 September 2015 16:39:19 UTC+1, Jeroen de Neef wrote:
>
> Try to get the other clients to pull and rebase, then ask them to push.
> Op 16 sep. 2015 17:36 schreef "Gordon Bonthron" <g.bon...@gmail.com 
> <javascript:>>:
>
>> Hello all,
>>
>> I've got a new install from Omnibus of the latest GitLab, however I'm 
>> having some issues. I've imported a number of repos using the rake task, 
>> however we are now finding that people cannot force push to non-protected 
>> branches. Their commits are rejected with the following message:
>>
>> remote: error: denying non-fast-forward refs/heads/branch (you should 
>> pull first)
>>
>> As I understand it from the permission model, users with developer access 
>> should be able to force push to non protected branches, which these are. 
>> From looking around, this can be due to receive.denyNonFastForwards being 
>> set to true. If this is the case here, why is this the default for GitLab 
>> projects, given the permission model suggests entirely different behaviour, 
>> and how can I change this on all current and future repos?
>>
>> Thanks all!
>> Gordon
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GitLab" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to gitlabhq+u...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/gitlabhq/923864ef-3fca-49bb-99ff-dfe693a1758b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/gitlabhq/923864ef-3fca-49bb-99ff-dfe693a1758b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/07494f97-8d1e-4413-86af-df2830739765%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to