3 ms·
if you stash everything you're not committing, then the working copy becomes the staging area, and the stash becomes the working copy. how is that any different
by etherealG 15y ago
if you stash everything you're not committing, then the working copy becomes the staging area, and the stash becomes the working copy. how is that any different?
seems to me both systems have a method of choosing what to commit, in git you can choose to stash or stage, in the others you can only stash since they "don't have a staging area". git++ for having both options.
- prodigal_erik 15y agoGit has many commands which allow fine-grained manipulation of the staging area; stashes are a crude afterthought in comparison. The problem is that highly encouraged workflows like "git add --patch" inevitably lead to toxic commits which were never tested because they never truly existed in the workspace.