Commit Your Changes Or Stash Them Before You Can Merge

Last modified: 
Thursday, April 9th, 2015
Topics: 
Git

Reset Unwanted Changes

If you find you cannot run git pull from a central repository, because you're working copy contains edits or changes you do not wish to save, you can run a hard a reset on your current working branch.

git reset --hard


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.