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
Post a Comment