Re: Your branch and 'origin/master' have diverged
- From
- Holger Hellmuth (IKS) <hellmuth@ira.uka.de>
- Date
- Aug 15, 2012, 18:38 UTC
- Message-ID
- <502BECAD.90307@ira.uka.de>
- In-Reply-To
- <7vfw7o6p1g.fsf@alter.siamese.dyndns.org>
Am 15.08.2012 19:30, schrieb Junio C Hamano:
Show 6 quoted lines
> The current rule is very > simple and understandable. You either say from the command line > exactly what should happen (refspec without colon is the same as the > refspec with colon at the end, meaning "do not track"; if you want > to track, you write what to update with the fetch), or we use the > configured refspec (which again spells what should happen).
Couldn't a similar new rule just say that refspec <name> is a short for <name>:<name> ?
The exception would be in the case of a URL as remote, but that would not be surprising to anyone, as there is no obvious target for the update