Home ›
Undo a conflicting change in your working copy that you didn't want anywayUndo a conflicting change in your working copy that you didn't want anyway
Submitted by Benjamin Melançon on May 16, 2009 - 12:36am
In short, resolve a conflict in favor of the outside repository.
The file can be a
mv offending.file ~/elsewhere
git checkout offending.file
See also for resetting everything: http://agaric.com/note/git-update-and-ignore-local-changes
References
http://bryan-murdock.blogspot.com/2007/07/git-revert-is-not-equivalent-to-svn.html
http://www.kernel.org/pub/software/scm/git/docs/git-reset.html
Resolution
Searched words:
git undo reset revert rewind repeal redo unset unwind
expunge expunch conflict chain
Comments
Post new comment