I'm want to use GIT. But git is not easy to me.
I'm work on new branch But, have a misstake, for example wrong file to add.
So. I'm want to delete branch and restart my work.
My proceduer, see below.
step 1. git clone email@example.com
step 2. git branch test
step 3. git checkout test
step 4. Add some file(add wrong file to my directory)
step 5. git checkout master(not commit)
step 6. git branch -D test
step 7. git branch new
step 8. git checkout new
step 9. git status
But wrong file was exist. Not delete.
How can clean remove my branch?