I want to change branch from master to another branch (i.e. )
But it failed to change branch via egit.
As I change branch again, but it show this error message:
The problem is there are some source belong to another branch but copy to master, because egit fail to do rollback.
So it added some untracked files which belong to branch not master branch
1. use git status to list untracked files
2. use git clean -n to list the files which will be removed
3. use git clean -f to remove files
After cleaning untracking files, then I can change granch succesfully