Skip to content
  • Carlos Martín Nieto's avatar
    Make git-{pull,rebase} message without tracking information friendlier · 3c02396a
    Carlos Martín Nieto authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    The current message is too long and at too low a level for anybody
    to understand it if they don't know about the configuration format
    already.
    
    The text about setting up a remote is superfluous and doesn't help
    understand or recover from the error that has happened.  Show the
    usage more prominently and explain how to set up the tracking
    information. If there is only one remote, that name is used instead
    of the generic <remote>.
    
    Also simplify the message we print on detached HEAD to remove
    unnecessary information which is better left for the documentation.
    
    Signed-off-by: default avatarCarlos Martín Nieto <cmn@elego.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    3c02396a