Why is a stash represented as 2 commits?
问题 When stashing some changes, Git creates two separate commits, 'WIP on branch' and 'index on branch': $ git log --graph --all * commit 98aac13303ca086580c1ec9ccba5fe26c2a8ef3c |\ Merge: 7d99786 82c5c76 | | Author: Tieme <my@email.com> | | Date: Wed Nov 19 09:58:35 2014 +0100 | | | | WIP on development: 7d99786 Last real commit | | | * commit 82c5c763357c401135675a39bfabf9b7f6805815 |/ Author: Tieme <my@email.com> | Date: Wed Nov 19 09:58:35 2014 +0100 | | index on development: 7d99786 Last