From: Junio C Hamano Date: Mon, 30 Jan 2012 19:11:24 GMT Subject: Re: Why does git stash create two commits? Message-ID: <7vhazdatur.fsf@alter.siamese.dyndns.org> In-Reply-To: <4F26DF7B.7050109@ubuntu.com> Phillip Susi 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.