I would caution against using git push -f. This could force a push that has
the potential to change upstream history. Downstream committers will be
very unhappy with you for doing that.

Are you sure you have Developer access or higher on that repo? You cannot
push to the repository if you have Guest, Reporter, or no access.


On Tue, May 20, 2014 at 2:59 PM, Renan Gurgel <[email protected]>wrote:

> If you really need to push this commit, you could user git push -f origin
> master
>
> Terça-feira, 20 de Maio de 2014 6:58:09 UTC-3, Gabor escreveu:
>>
>> Hi,
>>
>> I've installed gitlab 2 days ago on a Centos 6.5 server. Whne I try to make
>> a push I get the following error:
>>
>>
>> $ git push -u origin master
>> [email protected]'s password:
>>
>> Counting objects: 3, done.
>> Writing objects: 100% (3/3), 200 bytes | 0 bytes/s, done.
>> Total 3 (delta 0), reused 0 (delta 0)
>> remote: GitLab: You are not allowed to access master!
>> remote: error: hook declined to update refs/heads/master
>> To [email protected]:repositories/YY/proba.git
>>  ! [remote rejected] master -> master (hook declined)
>> error: failed to push some refs to '[email protected]:repositories
>> /YY/proba.git'
>>
>>
>> I've spent the last 2 days for searching for solution on the internet.
>> I've tried all the suggestions I've found for similar problems without any
>> success. Could anybody help please?
>>
>  --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/d4ab356f-a19d-46f4-9b78-8d924a2d6ec4%40googlegroups.com<https://groups.google.com/d/msgid/gitlabhq/d4ab356f-a19d-46f4-9b78-8d924a2d6ec4%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAGWx_yZb_WJ-oC%3DiN9kTp%2BCjXPaYukPWOs_KFDaOOqEoRjS_pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to