Git reset, as described in many responses just before, is definitely the most beneficial and most basic way to achieve what you wish. I use it in the subsequent workflow:awful - resulting in worry or dread or terror; "the awful war"; "an awful danger"; "dire information"; "a job or vengeance so direful that London was shocked"; "the dread presence