[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers-public] git: forcing non-fast-forward pushes
From: |
Sylvain Beucler |
Subject: |
Re: [Savannah-hackers-public] git: forcing non-fast-forward pushes |
Date: |
Tue, 3 Feb 2009 20:28:28 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Feb 03, 2009 at 01:05:25AM +0100, Thomas Schwinge wrote:
> Hello!
>
> Has being able to force non-fast-forward pushes (yes, I'm aware of the
> consequences of doing such pushes) been explicitly disabled in the
> Savannah git setup or why does the following fail? (Or is it me doing
> something wrong at this late hour?)
>
> $ git push --force origin master
> Counting objects: 3, done.
> Compressing objects: 100% (2/2), done.
> Writing objects: 100% (3/3), 428 bytes, done.
> Total 3 (delta 0), reused 2 (delta 0)
> To ssh://address@hidden/srv/git/hurd.git
> ! [remote rejected] master -> master (non-fast forward)
> error: denying non-fast forward refs/heads/master (you should pull first)
> error: failed to push some refs to 'ssh://address@hidden/srv/git/hurd.git'
This is disabled indeed.
Shared Git repository don't allow that by default.
--
Sylvain