From: Assaf Gordon Date: Fri, 14 Dec 2012 07:47:17 +0000 (+0100) Subject: doc: mention "git stash" in HACKING X-Git-Tag: v8.21~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9870faf9933a32de11cf90883e537f72e4f7de5;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/HACKING b/HACKING index f3f961a2a1..adc305ff24 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: