All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Nielsen <adam.nielsen@uq.edu.au>
To: Johannes Sixt <j.sixt@viscovery.net>
Cc: git@vger.kernel.org
Subject: Re: How do you switch branches in a bare repo?
Date: Fri, 12 Mar 2010 17:38:23 +1000	[thread overview]
Message-ID: <4B99EF6F.90207@uq.edu.au> (raw)
In-Reply-To: <4B99EE7C.4060902@viscovery.net>

> Perhaps non-fast-forwards are denied for a reason?
> 
> If not, then you can enable them by setting receive.denynonfastforwards to
> false in the bare repository.

Ah, that did the trick!  Although it was actually 
receive.denyNonFastforwards for me (adding the lowercase option had no 
effect, I had to edit the fancy-case version.)

But that allowed the push to work and I have gotten rid of my unwanted 
commits, so thanks a lot for your help!

Cheers,
Adam.

  reply	other threads:[~2010-03-12  7:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12  6:26 How do you switch branches in a bare repo? Adam Nielsen
2010-03-12  6:57 ` Johannes Sixt
2010-03-12  7:12   ` Adam Nielsen
2010-03-12  7:34     ` Johannes Sixt
2010-03-12  7:38       ` Adam Nielsen [this message]
2010-03-12  8:09 ` [Improvement?] " Michael Witten
2010-03-12 16:48   ` Jonathan Nieder
2010-03-14  6:52   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B99EF6F.90207@uq.edu.au \
    --to=adam.nielsen@uq.edu.au \
    --cc=git@vger.kernel.org \
    --cc=j.sixt@viscovery.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.