visual studio - Overwriting local changes in Git -


i using git in visual studio , getting error when trying pull:

an error occurred. detailed message: 1 uncommitted change overwritten merge 

however when try , commit won't let me because have pull first, it's vicious cycle.

there doesn't seem on how fix error within visual studio.

how can latest version on server , overwrite local changes?

how can latest version on server , overwrite local changes?

in team explorer window, in list of pending changes (that’s create commits), can right click on files , click “undo…” undo whatever local changes did files. should able pull.

however, shouldn’t need pull commit. git commits local repository, state of other remote repository never considered commits.

there "out going commits", when "sync" gives me error.

the “sync” button in “unsyched commits” view push , pull. indeed requires not have uncommitted changes (that overwritten) in working directory. go “changes” view , make commit first if want keep changes; or undo them explained above.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -