Re: disallowing push to currently checked-out branch
- From
Jeff King <peff@peff.net>
- Date
- Feb 16, 2009, 13:58 UTC
- Message-ID
- <20090216135812.GA20377@coredump.intra.peff.net>
- In-Reply-To
- <loom.20090216T101457-231@post.gmane.org>
On Mon, Feb 16, 2009 at 10:17:01AM +0000, Sergio Callegari wrote:
Show 6 quoted lines
> > For people who do not follow the git list regularly, a "HEAD contain the > > actual commit" is often called "detached". > > Could you have that done automatically? > Namely rather to denying push to a branch b where HEAD->b, when you get such > push you detach head?
See
http://article.gmane.org/gmane.comp.version-control.git/108923
for discussion.
-Peff