I was working in a branch that I created like:
git checkout -b feature_xyz
After working in that branch, I wanted to throw away all the work so I moved back to master:
git checkout master
When I did that, I saw this:
M app/path/to/file1.rb M app/path/to/file2.rb D app/path/to/file3.rb switched to branch 'master' your branch is up-to-date with origin/master
I then deleted the feature branch:
git branch -d feature_xyz
Now when I do git status I see files that I was modifying in that feauture_xyz branch, how is this possible?