I’ve the following problem with eGit:
- I’m in the commit A with the repository just pulled.
- I create a file FILE, later i decide to discard it and go back to the previous point (before create the FILE).
I’ve this actions but none work:
- Select Reset project with the option
Hard (HEAD, index and working directory updated) - Stash the project and checkout other branch
- Checkout other branch (after this the file is still there!)
- Add the file to the index before and try the 3 options above
In all the cases the file persist with the question mark or plus icon depending on if it out or in the index
1 Answer