On Sun, Feb 15, 2009 at 01:31:50PM -0800, Junio C Hamano wrote:
* git-push to update the checked out branch will be refused by default
Make "git push" into a repository to update the branch that is checked
out fail by default.
http://thread.gmane.org/gmane.comp.version-control.git/107758/focus=108007
If this is implemented, it shouldn't, in my opinion, be a default
setting. I regularly push to checkout repos when I'm doing cross machine
development. However, I could live with a configurable setting as
proposed in the given URL. I think Git should not be too cautious about
following users instructions. The user knows what is best for him/her ;)
--
Heikki Orsila
heikki.orsila@iki.fi
http://www.iki.fi/shd