Different Methods for Resetting Files in Git

Confused by the various options for cleaning up or resetting your branch, working area, or staging area? Use this overview to help get things sorted: Command Description Affects Working Area Affects Staging Area Example Call git reset (no options) Resets the current branch to a specific commit and removes changes from the Staging Area, […]