I did a git commit -am followed immediately by git stash and got the message
No local changes to save
When I run git status I get
Your branch is ahead of 'origin/master' by 3 commits.
Is this right?
I was working on some stuff and made some commits but haven't pushed the changes. Now I want to 'stash' them and go back to a clean version (my latest pushed changes - don't know how to refer to this)
How do I stash my work that I haven't pushed yet and revert to the latest pushed master branch?