Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Why does git stash create two commits?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:53

Phillip Susi [off-list ref] writes:
git stash makes two commits, one that has no changes from the base,
and one to stash your changes in.  Why?
The only reason the former is identical to the base is because you are not
incrementally building your next commit using "git add". It represents the
state of your index. The latter represents the state of the tracked files
in your working tree.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help