From e9870faf9933a32de11cf90883e537f72e4f7de5 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Fri, 14 Dec 2012 08:47:17 +0100 Subject: doc: mention "git stash" in HACKING * HACKING: In the paragraph about switching branches, mention "git stash" as a way to continue while preserving uncommitted changes. --- HACKING | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HACKING b/HACKING index f3f961a2a..adc305ff2 100644 --- a/HACKING +++ b/HACKING @@ -120,6 +120,8 @@ Note 2: sometimes the checkout will fail, telling you that your local modifications conflict with changes required to switch branches. However, in any case, you will *not* lose your uncommitted changes. + Run "git stash" to temporarily hide uncommitted changes in your + local directory, restoring a clean working directory. Anyhow, get back onto your just-created branch: -- cgit v1.2.3-54-g00ecf