From 734830e4eb871dad6471f3c8406251fcc34e513c Mon Sep 17 00:00:00 2001 From: Janek Warchol Date: Thu, 9 Jun 2011 20:27:32 +0200 Subject: [PATCH] doc: reverting - git reset affects only current branch --- Documentation/contributor/source-code.itexi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/contributor/source-code.itexi b/Documentation/contributor/source-code.itexi index 79833e13d9..ba1875c0d6 100644 --- a/Documentation/contributor/source-code.itexi +++ b/Documentation/contributor/source-code.itexi @@ -1194,8 +1194,8 @@ any changes you have made! Sometimes git will become hopelessly confused, and you just want to get back to a known, stable state. This command destroys any -local changes you have made, but at least you get back to the -current online version: +local changes you have made in the currently checked-out branch, +but at least you get back to the current online version: @example git reset --hard origin/master -- 2.39.5