how do I compare the changes with my current non-commited state with the previous commited state a88a9
?
this is my current git status, there has been changes since my last commit
$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit
how do I compare the changes with my current non-commited state with the previous commited state a88a9
?
This is my commits
$ git log --pretty=oneline
a88a937d3154291d77156fce2e6c3a0b932c4e6d add the --done! part in the index.html
3a5c6a881a67664b365a8eddb1c6f0ddd44099b6 css for .priority-btn
32365dfdf27264691929eac8b5d1e9260a367802 css for .edit-btn
e3d040a11e1363447ad8953453c4284c9dd097eb remove TodoMVC readme
dd721f439355b3aa6ce1add52e2b35e51dec5cdb init
$
this does with a diff on one commit with another, which I got from here, but I want to compare with my current non committed state.
$ git diff a88a937d 3a5c6a8
Am I right to say HEAD
is the current working state or is it the last commit?