I'm trying to merge a git
using eclipse, but it gives me an error:
DIRTY_WORKTREE "filename".
I have tried to revert commit
and resetar
, but neither option works.
I'm trying to merge a git
using eclipse, but it gives me an error:
DIRTY_WORKTREE "filename".
I have tried to revert commit
and resetar
, but neither option works.
Enter a shell into your repository.
Type git status
to see the files modified since the last commit.
Type git diff
to see the differences if you want.
2 options:
Commits to "clean" the repository:
git add -A
git commit -m "Messagem das modificações"
OR
Delete the changes:
git reset HEAD --hard
Then the repository will be cleaned and the merge will be possible.
PS: To cancel a merge not yet committed:
git reset --merge