* Working on LilyPond sources with several branches::
* Git log::
* Applying git patches::
+* Reverting all local changes::
@end menu
@end example
+@node Reverting all local changes
+@subsection Reverting all local changes
+
+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:
+
+@example
+git reset --hard origin/master
+@end example
+
+
@node Git on Windows
@section Git on Windows