2011/6/9 Trevor Daniels <t.dani...@treda.co.uk>:
> Just the current branch.

Thanks!
I suggest a patch to the docs about it (attached).
Janek

> ----- Original Message ----- From: "Janek Warchoł"
> <lemniskata.bernoull...@gmail.com>
>> does
>>   git reset --hard origin/master
>> (http://lilypond.org/doc/v2.13/Documentation/contributor-big-page#reverting-all-local-changes)
>> reset whole repository or just current branch?
From 7540e06e7398e28e6bc5ea15271de007a5905a97 Mon Sep 17 00:00:00 2001
From: Janek Warchol <lemniskata.bernoull...@gmail.com>
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 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/contributor/source-code.itexi b/Documentation/contributor/source-code.itexi
index 79833e1..ba1875c 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
-- 
1.7.0.4

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to