From: Junio C Hamano Date: Sun, 21 Dec 2014 18:40:28 GMT Subject: Re: About refs refs/heads/+... Message-ID: In-Reply-To: Duy Nguyen writes: > I accidentally created a branch whose name starts with "+". > Everything went ok until I pushed it because "+" is interpreted as > forced refspec (e.g. "git push somewhere +wip"). Using full ref names > would avoid ambiguity. The corner case of this is where the branch > name is simply "+". Then refspec "+:" will be interpreted completely > different from what the user wants. Using full ref names does not avoid ambiguity in that case? What is a push refspec with an empty right-hand-side supposed to do in the first place anyway?