Git reset, as described in lots of solutions in advance of, is certainly the very best and easiest way to achieve what you wish. I utilize it in the subsequent workflow:I found Felix Rieseberg's Remedy to become the ideal. This can be my a little shorter transcription of his advice:Awful’ is the correct spelling when you want to explain something