From: Jonathan Nieder Date: Sat, 26 Nov 2011 08:54:55 +0000 (-0600) Subject: Allow checkout -B to update the current branch X-Git-Tag: v1.7.8.2~22^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/39bd6f726109942c6f77f59638f6763c9f00706c?hp=39bd6f726109942c6f77f59638f6763c9f00706c Allow checkout -B to update the current branch When on master, "git checkout -B master " is a more natural way to say "git reset --keep ", which was originally invented for the exact purpose of moving to the named commit while keeping the local changes around. Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---