How to resolve a git conflict when pulling (in eclipse) -


i accidentally made mess of , deleted java project eclipse (more specifically, accidentally moved classes different project , moved them back, , deleted project [from file system] in eclipse), , whenever try team -> pull (after running ant -f ...), window pops saying there's checkout conflict files deleted. how past conflict , make pulling work again? create new workspace, checkout there again, , copy code i'm developing workspace, there must easier way. please educate git n00b.

open "git repositories" view (ctrl 3 -> git repositories), right-click project, select "reset".

in following dialog, enter "head" in "reset (expression)" field , select hard.

this completly reset workspace pristine state.

now, reimport deleted project (file -> import... -> existing project")

now state before "mess" , can pull again.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -