1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

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.
This commit is contained in:
Assaf Gordon
2012-12-14 08:47:17 +01:00
committed by Bernhard Voelker
parent c321f7450f
commit e9870faf99

View File

@@ -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: