I was working in a branch "test" and took pull and now I am updated as per origin.
git checkout develop
I checkout to branch "develop" which is behind origin/develop and I copy made some changes in code. Now I run:
git status
I got many untracked file and not staged files as I was ahead when I working in branch "test". Now I just want to checkout back to test branch and push my changes. My changes are little so I can revert and redo them. But how to switch branch because I get error:
error: The following untracked working tree files would be overwritten by checkout:
All untsaged and untracked files
Please move or remove them before you switch branches.
Aborting
Need help so that I can get back to test branch and redo my changes.