I am new to Bitbucket/Sourcetree. After clone the repository to my local machine. I made one one comment to test it. Say it was:
just add commit
Then I clicked commit button. After that I didn't want to push it as it just was an practice. I prehaps clicked Discard
(not recall clearly). Now it shows Revert "just test commit"
My question is that I really don't want to push it, how to get rid of it as the "Push" button shows "2" on it. See the image.
I tried the command git stash
but it was not working.