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:
committed by
Bernhard Voelker
parent
c321f7450f
commit
e9870faf99
2
HACKING
2
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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user