Git reset, as stated in many solutions prior to, is undoubtedly the best and most basic way to achieve what you would like. I utilize it in the following workflow: Is there any strategy or mystery to help keep switches flat (not yaw'd) when pushing them in then screwing them https://newbigchiefduos86318.ltfblog.com/38119061/considerations-to-know-about-awful-lot-of-cough-syrup-snowcaps