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
Searched words:
git undo reset revert rewind repeal redo unset unwind
expunge expunch conflict chain
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
More like this
- If a direct call to a view isn't working... check that you didn't break the view quite independently in theming it
- Change the location of an SVN repository for the working copy
- Agaric Quick Tip: if git status works yet 'not a repository', you're in a symlink
- How do I put Drupal's sitewide contact form on any page or panel I want?
- Having your Git and your SVN too


Comments
Post new comment